Fixed positioning of HUD alerts
Cleanup/Refactor: Removed unused and organized imports. Replaced hardcoded Order States for enum-like values.

Currently order states are directly strings, with irregular capitalization.
In the future it might be better to just have this field store a byte value, and to represent
it in the user interface we can have a map that gives us the right representation, should also
be easier to internationalize the text this way as there'd be only one place to maintain
the corresponding english names for the order states.

Refactored get_order() method to get rid of unnecessary code repetition. DRY principle.
Fixes
Merge pull request #169 from gubatron/master

Cleanup/Refactor: Removed unused and organized imports. Order State enum, DRY principle

This is awesome! Thanks.
cleanup and organization of imports
Merge pull request #170 from gubatron/master

cleanup and organization of imports
TODO on setup_db.py: Moved DB_PATH to constants.
(setup_db.py) TODO: Use actual foreign keys.
Made some parts formatted as code

For clarity and cosmetic purposes.
Moved setup db script because constanst relationship
Added clear peers table button to Advanced Settings
Merge pull request #171 from benhc123/patch-15

Made some parts formatted as code
You can now view logs realtime in settings page
Merge branch 'master' of https://github.com/OpenBazaar/OpenBazaar
Word-breaking log output sucks; reverting to scroll
Kill tail process on exit
Disabling logging to GUI for now because its way too slow
Better logic for generating PGP key. Fixes #153
Merge pull request #173 from ckeenan/master

Better logic for generating PGP key. Fixes #153
unused imports, irregular indentation cleanup