Abstract EC parametres.
Refactor pubkey_to_pyelliptic (part 2)

* Drop _pubkey256ToPubkeyHex.
* Drop unnecessary base changes.
* Factor hexToPubkey code.
Make pubkey_to_pyelliptic return key in binary format.
Drop hexToPubkey. Use pubkey_to_pyelliptic.