Added tests for ec key creation from raw material and for private key
serialization.

Added skeleton for cms module (never run)
Added some tests for X509 module