changes for building markets, because of the new validation in
MarketBuilder
minor style changes
Merge branch 'master' of https://github.com/proservice/betsys.git