Use LevelDB for the wallet database

Use LevelDB instead of PostgreSQL for the wallet database.