refactored BIGNUM code to use BN_CTX_get()
Merge branch 'master' of github.com:voisine/breadwallet into pincode