Validating of public key curve point.
Tests for public key validity check.
Removed unnessary point copy.
Merge pull request #9 from hiviah/ecdsa_pubkey_validation

ECDSA public key validation