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/shunset HGUSEREMAIL="My Name <myname@example.com>"export EMAILhg init testcd testtouch asdfhg add asdfhg commit -d '1000000 0' -m commit-1hg tip