Merge pull request #678 from eordano/feature/privkeyhex

Add functionality to create private key from a hex string
Backport changes to ecdsa from fullnode