Add tests in dev_tests.cpp for malicious trades

At present I can DoS the market by placing a short offering a lot of USD
for very little XTS. The ask is immediately filled, and I am saddled
with far too much debt and far too little collateral to cover, thus
freezing the market.
Merge branch 'master' of github.com:BitShares/bitshares_toolkit