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

Trying to make the right commit to  the develop branch.
As commented in line 584 (https://github.com/OpenBazaar/OpenBazaar/pull/658/files#diff-06caaf3cbf31ee2085d6189a8fe7e166R584), this can raise an ```AttributeError```.