Merge pull request #14 from moneromooo-monero/blockchain

Blockchain

lots of const-correctness and more proper code, bug fix with syncing.
db_lmdb: do not cast const away
db_lmdb: remove block timestamp too when removing a block
blockchain: do not append "testnet" to the data directory

It is already there (unless overridden via command line).