WIP
replaced bitcore with node-bitcoin; fixed up tests