Correctly emulate pre-fork-4 behavior to allow us to safely validate old blocks without asserting or accessing uninitialized memory.  Fixes some crashes reported, like one reported in BitShares/bitshares_toolkit#647
Merge remote-tracking branch 'remotes/origin/master' into emfrias_master

Conflicts:
	libraries/blockchain/market_engine.cpp
Merge remote-tracking branch 'remotes/origin/master' into emfrias_master
Fix automatic conversion in trinary operator for gcc
Merge branch 'master' into emfrias_master

Conflicts:
	programs/qt_wallet
	programs/web_wallet
Merge pull request #42 from emfrias/master

Correctly emulate pre-fork-4 behavior to allow us to safely validate old...