activePeers and routingTable out of sync

Add peer from activePeers to DHT routing table if not there to resync.

Refresh peers when receiving hello message

Changelog:
- When we receive a hello msg from a node then let's update the sidebar so we know we have new connected stores.

Fixed jslint issues.

I think this is some bullshit but ok :P

Transition to is not None

Reverse logic due to idiocy
Update missing peer logic

Before it was overwriting the activePeer with None if not found in the routing table so now there is a temporary routing_peer and if not found in the routing table it's added.
Fix bad logic
Merge pull request #714 from hoffmabc/feature-refresh-peers

Peer Management Updates
Put multisig tests in test folder.

* Format them as semi-unittests.
Merge pull request #763 from Renelvon/multisig_test

Put multisig tests in test folder.
Abstract the Elliptic Curve used; setup initial testsuite.

* Introduce crypto_util.BTC_CURVE as the curve's name. Replace any
  magic strings in the codebase with crypto_util.BTC_CURVE.
* Invoke pyelliptic.OpenSSL to get curve ID
* Abstract the key length.
Abstract and test public and private key processing.

* pubkey_to_pyelliptic now returns key in bin format.
* Replace hexToPubkey with pubkey_to_pyelliptic.
Create and test a Cryptor class to abstract pyelliptic.

* Replace makePubCryptor, makePrivCryptor and ec.ECC with Cryptor.
* Provide the ECC key getters; do not keep the keys in Cryptor class.
* Purge pyelliptic imports outside crypto_util.
* Purge most references to _myself; let's not be self-centered.