fix and add tests for addInput
add tests to addOutput
test transaction signing (failing)
Test validateSig. Use validateSig to test transaction signing
Merge pull request #71 from bitcoinjs/transaction-tests

Transaction tests & fix addInput hash allowed formats