Removes toPaddedBuffer and extends toBuffer
Adds RFC6979 test vectors and fixes ecdsa.sign/detGenK