Fixed bug, toObject should use other object's toObject
Added test to check that Transaction fromJSON could initialize from toJSON, and fixed a bug.
Transaction: Use Script toString for transaction JSON output
Transaction: toNumber/fromNumber to set satoshis
Remove compressed argument from private key and public key constructors
Add tx_valid and tx_invalid bitcoind tests
Merge pull request #747 from braydonf/tests/tx-bitcoind

Add tx_valid and tx_invalid bitcoind tests
Merge pull request #737 from braydonf/bug/to-object

Transaction:  `toJSON` / `fromJSON` tests
Add `PublicKeyHashInput` and `ScriptHashInput`.

Remove `_outpoints`, `_utxos` from Transaction, as that info
can be efficiently retrieved from the inputs
Add PublicKeyHashInput class
Modify Transaction to use Multisig

* Allow `Script#add` to add a Script causing concatenation of opcodes
* Add `Script#equals` to compare scripts
* Add `Script#fromAddress`
* Drop `_payTo` methods
* Add `Script.buildP2SHMultisigIn`

Greatly simplifying the internal transaction object
Merge pull request #722 from eordano/feature/multisig

P2SH Multisig transaction creation
Merge pull request #719 from yemel/refactor/remove-compressed

Remove compressed argument from PrivateKey and PublicKey constructors
Add tests for importing from WIF
Fix tests to allow network on public keys
Remove calls to read() with no arguments
Merge pull request #751 from eordano/fix/bufferReadNoLength

Remove calls to read() with no arguments
Merge pull request #750 from eordano/test/publicWIF

Add `network` property to PublicKey
Transport: Added a peer pool to maintain a set of connected peers
Transport/Pool: Use sinon for tests.