Refactor, revamp and repair blockchain_market_order_history and pretty-

Should be OK now. Finally.
Merge branch 'master' of github.com:BitShares/bitshares_toolkit