Add package wtxmgr to use walletdb interface

Started rolling out the database changes for migrating to boltdb, added db row for Block. Work in progress.