Fix incorrect usage of CKO_KEY_TYPE, add CKO_CLASS (#31)
Fix incorrect usage of CKO_KEY_TYPE, add CKO_CLASS (#31)

Fix some small bugs that cause unit tests to fail with SoftHSM v2:
* Correct value for CKO_KEY_TYPE to CKK_RSA. Values for CKO_KEY_TYPE should
  be CKK_(RSA|DSA|ECDSA|AES) etc.
* Add CKO_CLASS attribute to correctly set the key type as public or private.
miekg/pkcs11,miekg/pkcs11,epim/pkcs11,epim/pkcs11