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.
Disallow bare except clauses (W0702).
Restrict bare except clauses.

* All exceptions that are meant to be caught derive
  from Exception.
Merge pull request #764 from Renelvon/no_bare_except

No bare except clauses
Introducing sanitizer callbacks in transport layer.
Merge pull request #722 from sophron/sanitize-transport-data

Introducing sanitizer callbacks in transport layer
Create cursor object inside the with statement.
Merge pull request #767 from sophron/create-cursor-object-inside-the-with-statement

Create cursor object inside the with statement
Upgrade to pyelliptic version 1.5.5.
Merge pull request #768 from Renelvon/bump_pyelliptic

Upgrade pyelliptic to version 1.5.5.
Order imports according to PEP8.
Remove unused methods.

* Remove remove_peer, addCryptoPeer, _checkok, closed, get_guid,
  get_bitmessage_api, get_myself.
Remove unused argument from get_crypto_peer.
Dump connect_to_peers.
Merge pull request #765 from yagoulas/transport_initial_cleanup

Transport cleanup