Added support for EC pgp keys.

Ported missing parts from bc-java and added own parts.