history_database: rename map to lookup
add block_database::last_height()
block_database::store() doesn't need height argument since it's implicit anyway.
block_db tool