Complete (I think) the implementation of batch_market_update

It's completely untested. If you want to use it, test it first. I make
no promises.
Merge branch 'develop' of github.com:BitShares/bitshares_toolkit into develop