added basic unit tests
This commit makes the following changes:

1) Adds unit tests (for testing bitcoind/namecoind connectivity etc)
2) Enables bitcoind by default and adds default servers for namecoind and bitcoind
3) Pep8 updates