Integrate walletdb and updated waddrmgr.

This commit converts the wallet to use the new walletdb package as well as
the updated version of the secure hierarchical deterministic wallet
address manager which uses the new namespace feature provided by waleltdb.