Merge pull request #1 from bitpay/master

Sync with Bitpay
Removed x,y code assignments for private key
Fixed incorrect public key param usage
Corrected curve params
Fixed binary string being reversed
Corrected base point param assignment
Merge pull request #47 from ionux/master

Fix for keygen & SIN creation breakage
Corrected test parameter