ecdsa: adhere strictly to RFC6979

The previous impl. was in breach of the following section:

> Please note that when k is generated from T, the result of bits2int is
> compared to q, not reduced modulo q. If the value is not between 1 and
> q-1, the process loops.
> Performing a simple modular reduction would induce biases that would be
> detrimental to signature security.
ECKey: remove extraneous toString
package: sort lists
ecdsa: ecurve 0.10.0
ecdsa: fix interval comment

Actual range as per the RFC is [1, q - 1], the code adheres to this.
ecdsa: adds test for detGenK loop
Merge pull request #226 from dcousens/rfc6979fix

Stricter ecdsa RFC 6979 adherence
ECKey: adds tests for makeRandom
use cryptocoinjs/bs58
tests: remove h2b
crypto: add RIPEMD160 tests
crypto: use latest crypto-browserify
Merge pull request #229 from dcousens/ripemd

Browserify RIPEMD160
Merge pull request #228 from dcousens/b58

BS58 module
Merge pull request #223 from dcousens/rand

ECKey: adds tests for makeRandom
wallet: reintroduce output.to to track pending spent utxo
scripts: remove unused 2nd argument in function call
Merge pull request #224 from dcousens/classify

Script classification fixes
package: use secure-random 1.1.1
Merge pull request #235 from dcousens/nsec

package: use secure-random 1.1.1