Change numToBytes to not rely on 32bit JS operators so that it can deal with larger numbers properly.
Merge branch 'master' of github.com:BitGo/bitcoinjs-lib