Continuing migration from print-based logging.
Continue migration from print messages

This is continuing xj9's work to migrate from print-based logging to
Python logger-based log messages. This still has a long way to go.
This also also has some minor formatting changes for readability,
especially for those of us not coding on an enormous HD monitor.
(Forgive me!)
Undoing stupid unintentional formatting change.
Merge remote-tracking branch 'xj9/master'

Conflicts:
	src/bitmessagemain.py
Don't log self.data

Too much data to print to screen except, perhaps, in exceptional circumstances.
Moving certain classes outside of bitmessagemain.py
Merge remote-tracking branch 'upsteam/master' into splitting_bitmessagemain
Split off some bootstrap and startup helper functions into their own files
Placed repeated inbox and sent SQL operations into appropriate helper functions
More print -> logger translations.
Merge branch 'master' of https://github.com/Bitmessage/PyBitmessage
Merge branch 'master' of https://github.com/xj9/PyBitmessage

Conflicts:
	src/bitmessagemain.py
Fix typos introduced by 6d11e5a.
Split off a few generic functions and Bitcoin related functions in seperate helper files
Fixed missing arithmetic import in helper_bitcoin file
Seperated out class_addressGenerator - not perfectly
Reworked translate function to be more accommodating
Fixed translate functions not being found as they were being defined after the QT GUI was started
This is never going to be executed, no need for a shebang.
Fix bugs in githup pull request #238