finish refactor of market
Merge branch 'develop' of github.com:BitShares/bitshares_toolkit into develop