significant progress towards bitcore compatibility

TODO:
* Need to update the EC curve stuff to, somehow, use the eckey C++ class or the pure js stuff depending on where the code is ... probably will involve updating Key.js
* Need to incorporate the standard BIP32 tests: https://en.bitcoin.it/wiki/BIP_0032_TestVectors