misc changes

Misc changes:
 - compiler warnings
 - spelling errors
 - Encrypt and Decrypt Final reset operation type
 - a real bug (== in place of =)
 - CKA_SUB_PRIME_BITS -> CKA_SUBPRIME_BITS (please applications too?)
  (cf v2.30 of PKCS#11 standard from OASIS)

To come: HMAC, (completing) DSA, DH, ECDSA and (partial) ECDH.
BTW I tested it with OpenSSL 1.0.1e and Botan 1.10.3 (doesn't work with 1.11
because of c++11)