demandload: implement __call__
demandload can now load functions and classes, and not just modules.
(So if you access foo() rather than just foo.* it still works).
demandload still doesn't work for constants.
#!/bin/shmkdir tcd thg initecho a > ahg add ahg commit -m test -d "1000000 0"hg historyhg manifesthg cat ahg verify