Explicitly name vagrant box as trusty32.

To differentiate from trusty64.
Merge pull request #583 from patcon/patch-1

Explicitly name vagrant box as trusty32.
parse url once
Initial cleanup.

* Drop unused code.
* Fix import style.
* Abstract the Elliptic Curve used.
* Suggest to replace any occurences of 'secp256k1' in rest of codebase
  with crypto_util.BTC_CURVE
Use BTC_CURVE in test/test_ec.py.
Use BTC_CURVE in node/transport.py
Use BTC_CURVE in node/connection.py.
Refactor pubkey_to_pyelliptic.

* Tag key variables with number base.
* Avoid destructive updates, so that code flow is super-clear.
* DRY key processing.
* As principle, never output keys to stdout, unless necessary.
Factor pubkey processing.
DRY pubkey processing.
Refactor makePubCryptor, hexToPubkey, makePrivCryptor.

* Tag key variables with number base.
* Avoid destructive updates, so that code flow is super-clear.
* DRY key processing.
* Added "FILLME"; please fill :)
Abstract EC parametres.
Refactor pubkey_to_pyelliptic (part 2)

* Drop _pubkey256ToPubkeyHex.
* Drop unnecessary base changes.
* Factor hexToPubkey code.
Make pubkey_to_pyelliptic return key in binary format.
Drop hexToPubkey. Use pubkey_to_pyelliptic.