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

Trying to make the right commit to  the develop branch.
As explained above, you can use ```.get('PGPPubKey', '')```.