Some transaction tests based off the commonjs fork

I've made some changes to make bitcoinjs-lib easier to use for me.  Feel free to take what is interesting.