Test util.
Test network_util.

* Test get_NAT_status.
* Abstract ip request site.
* Test get_my_ip.
Merge pull request #856 from Renelvon/test_util

[WIP] Test util and network_util using mocks.
Quick fix test for sqlite different thread issue.

Found this solution on a stackoverflow thread.
I'm not sure if it fixes the problem as I can't replicate it
myself.

If you are getting this issue, please test this pull request

git remote add gubatron https://github.com/gubatron/OpenBazaar
git fetch gubatron
git checkout experimental-fix-sqlite-different-thread-issue-654

run openbazaar and let me know if the issue persists, or if now
this is causing even weirder issues.

This is far from the ideal solution, but it might fix the problem.

The right solution might be (if we need db fetched objects on another
thread) having a DB-querying thread which is responsible for performing
all DB fetch operations and keeping the consumable outputs
in a temporary container (dict or queue) which is then consumed by
other threads.
Merge pull request #918 from gubatron/experimental-fix-sqlite-different-thread-issue-654

Quick fix test for sqlite different thread issue. (Issue #654)
Fixing Node Addition UI

This commit adds a notification on the success or failure of adding a
new node. It will still report success if the GUID of an unreachable
store is given.

Fixing typo

Conistency
Merge pull request #932 from VivaLaPanda/develop

Fixing Node Addition UI
use thread locking to serialize all db access

also reenable check_same_thread so we get exceptions instead of crashes,
although that shouldn't be possible anymore with this locking in place

Signed-off-by: Thomas Stilwell <stilwellt@openlabs.co>
Merge pull request #937 from benemorius/db-locking

use thread locking to serialize all db access
Upgrade to IPy 0.82a.

* New version fixes some bugs, drops support for Python 2.5
  and is forward-compatible with Python 3.4.
Upgrade to Pillow 2.6.3.

* Bugfixes, DOS fixes, expanded test coverage, some new features.
Upgrade to pyzmq 14.4.1.

* Bundles libzmq version 4.0.5
* Contexts and sockets are now context managers.
* Some bug fixes.
Upgrade to qrcode 5.1.

* Better test coverage.
* Support for versions of Python older than 2.6 dropped.
Upgrade to requests 2.4.3.

* This is a bugfix release.