db_lmdb: factor all the log+throw code paths
Merge pull request #16 from moneromooo-monero/blockchain

db_lmdb: factor all the log+throw code paths