Make ParsePubkey reutrn a *btcec.PublicKey

Provide a fucntion on public key to get the ecdsa type without knowing
internals.