Refactor code in preparation for future extensions

* decouple gui code from market implementation (market class)
* introduce application-wide preferences object
* replace self-made logger with python standard logging mechanism
Merge branch 'master' of git@github.com:sebastianhaberey/goxgui.git