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
Merge pull request #737 from braydonf/bug/to-object

Transaction:  `toJSON` / `fromJSON` tests