Merge pull request #150 from dcousens/bigitests

Adds BI.toPaddedBuffer and toBuffer
make sure createInputScript convert pubKey to buffer before writing out bytes

[fixes #156]
assertion message
Merge pull request #157 from ethers/master

assertion message
Adds RFC6979 test vectors and fixes ecdsa.sign/detGenK
Adds assertion messages