Fix comments and unittest for market.py and style and docs links

Trying to make the right commit to  the develop branch.
Alternative:
```Python
contract = contract_body.get('Contract')
item_price = contract.get('item_price') if contract is not None else 0
item_price = max(0, item_price)
```