fixes two market issues: swaps bid/ask depth on market flip; updates order type on short->margin transition
fixes two market issues: swaps bid/ask depth on market flip; updates order type on short->margin transition

bitshares/web_wallet,bitshares/web_wallet,bitsuperlab/web_play,dacsunlimited/web_play,dacsunlimited/web_play,dacsunlimited/web_play,zhangweis/dice_web,bitsuperlab/web_play,bitsuperlab/web_play