Transaction Builder

The aforementioned, and still in need of plenty of test fixtures, `TransactionBuilder`.

Anyone is welcome to throw fixtures at it, but, presuming you abide by the API (should be obvious), it should automagically sign them correctly with the private keys provided.
See tests for the intended behaviour.

All standard transaction types are supported including P2SH variants thereof. 

It also needs a `fromTransaction` method for initializing it from an incomplete `Transaction` so you can pass a incomplete `Transaction` around between signers.
I can agree the `assert` may not be necessary, in that it will just be silently ignored in preference of the `Transaction` itself.

I don't see what you mean by:
> Also you left out `addInput(Buffer, index)` for the else case.

That is the 3rd (and final) case.