_setup_settings(): fix initialization order dependency crash

_generate_new_bitmessage_address() depends on self.guid

if the client runs first without bitmessage running, then next
with bitmessage running, a crash would occur here because no self.guid

fixes crash introduced in 5778d6cd436da6d05fcf12a0fc90171e8789f679
(_setup_settings: be more robust against partial db creation)

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
[FEATURE] Fix PEP 8 style and add comments

[FEATURE] Fix PEP 8 style and add comments
[FEATURE] Fix style code by PEP 8

[FEATURE] Fix style code by PEP 8 but some line longer 79

[FEATURE] comments and style PEP 8 in market.py

[FEATURE] No comment every single pylint warning
[FEATURE] Add comments to market.py

[FEATURE] Add comments to market.py

[FEATURE] Add comments to market.py
Merge pull request #618 from benemorius/crashfix

_setup_settings(): fix initialization order dependency crash
[FEATURE] Add comments with doc strings to market.py
Merge pull request #615 from Ignat99/feature

[FEATURE] Fix style code by PEP 8 for market.py
Revert "[FEATURE] Fix style code by PEP 8 for market.py"
Merge pull request #623 from OpenBazaar/revert-615-feature

Revert "[FEATURE] Fix style code by PEP 8 for market.py"
Upgrade to pyelliptic 1.5.4.
Merge pull request #627 from Renelvon/upgrade_pyelliptic

Upgrade to pyelliptic 1.5.4.
Install pylint on the build.

* Add pylint to test requirements.
* Do not clutter output with files that are OK.
* Activate pylint if flake8 finds no errors.
* Ignore selected errors for now.
* Ignore selected warnings for now.
* Ignore selected conventions for now.
* Ignore selected refactors for now.
* Ignore selected fatals for now.
Drop flake8 for now.
Fix some pylint errors.

* E0602: Fix undefined variables. Refactor some `from X import * `
  cases, while we are at it.
* E1205: Fix arguments for logging format strings.
* E1305: Fix arguments for format strings.
Fix some pylint warnings:

* W0102: Disallow mutable values as default arguments.
  Check http://bit.ly/1sJ78fm for why mutable default
  arguments might not behave as expected.
* W0104: Explicitly denote seemingly pointless statement.
* W0105: Fix string positioned as statement.
* W0107: Drop unnecessary pass statements.
* W0231: Call __init__ of parent class.
* W0403: Honour relative imports.
  * Make the code more self-documented.
  * Ease the transistion to Python 3.
* W0611: Drop unsed imports.
* W0612: Fix unused variables and functions.
  * Comment and label unused functions.
  * Use _ for unused variables in unpacking statements.
* W0622: Avoid variable names that shadow builtins.
Fix some pylint conventions.

* C1001: All classes should be new-style classes.
* C0325: Drop unnecessary parens.
Fix some pylint refactors.

* R0201: Declare static methods as such.
Fix docstrings.
Merge pull request #621 from Renelvon/pylint_checks

Accept the pylint challenge.
disable public ip detection/updating when run.sh -i argument is used

fixes #472

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>