more object caching. restore functional interface of many methods.

T is now a synonym for *default-database* in method calls.
Remove method last-used-key. Use last-insert-rowid instead.