deterministic_trxs ids should be stored

As they are also included in merkle root, and for light clients, they do not need to handle deterministic trxs, only need to valid that.

And there should be a bug now..
Cleanup
Merge branch 'cleanup' into upstream

Conflicts:
	libraries/blockchain/chain_database.cpp
	libraries/blockchain/include/bts/blockchain/chain_database.hpp
	libraries/wallet/wallet.cpp
Merge branch 'master' of github.com:BitShares/bitshares_toolkit
Replace uint160 with appropriate typedefs for trx and block hashes
Implement displaying transaction history
Merge branch 'master' of github.com:BitShares/bitshares_toolkit

Conflicts:
	libraries/cli/cli.cpp
	libraries/wallet/include/bts/wallet/wallet.hpp
	libraries/wallet/wallet.cpp
Merge pull request #52 from nmushegian/master

small bug fix
Fix CLI wallet opening error
Enhance transaction history printing in CLI
Merge branch 'master' of github.com:BitShares/bitshares_toolkit

Conflicts:
	libraries/blockchain/transaction_validator.cpp
Merge pull request #53 from vikramrajkumar/master

Improve CLI transaction history + fix wallet opening error + lots of cleanup
Import WIF private keys
Allow showing only most recent N transactions in history list
Fix alignment bug
Merge pull request #54 from vikramrajkumar/master

Minor CLI enhancements
Introduce new receive_address type to store memo and unspent_outputs for each receiving address in wallet.
Merge branch 'master' of https://github.com/BitShares/bitshares_toolkit

Conflicts:
	libraries/cli/cli.cpp
attempt to fix compile error with gcc
Add blockchain unit test to test whether receive addresses are working
(trying to isolate a bug detected in bts_xt_client_tests)