tdb2: save openhook, allow tdb_get_attribute() on it.
[ccan] / junkcode / swehack@gmail.com-snifstat /
2009-04-23 Rusty RussellNew junkcode!