correctly terminate the loop when both buyer & seller are exhausted
update the amounts if traded, prior to insert
cleanup & more instrumentation
Merge branch 'mscore-0.0.9' of github.com:mastercoin-MSC/mastercore into 0.0.9-Z-MetaDExTradeHistory

Conflicts:
	src/mastercore_dex.h
fix up amounts in matches