Corrected code formatting errors

Corrected previous formatting mistakes.
Add option for merchants to enter a payment address; ioloop updates
QR payment code fixed
Merge pull request #168 from benhc123/patch-14

Corrected code formatting errors
Made orders badge only notify on new orders
Merge branch 'master' of https://github.com/OpenBazaar/OpenBazaar
Turning off auto refresh for order count
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.