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

Trying to make the right commit to  the develop branch.
```Python
self.nickname = self.settings.get('nickname', '')
```