pkcs11-tool sets CKA_DECRYPT=true rather then CKA_DERIVE=true when gener...

...ating EC keys (#277)

RSA and EC keys have different usage attributes. Appropriate attributes are set
When using --keypairgen the user can use the --usage-sign, --usage-decrypt,
and --usage-derive. to get finer control.

 Changes to be committed:
	modified:   tools/pkcs11-tool.c


This address bug #277. It uses the previously unsupported --usage-sign, --usage-decrypt options and adds the --usage-derive options. It only works with the 
--keypairgen. It does not address Gost keys. It does not address writing private
keys with attributes.