Add new optional parameters for certificate configuring.
This applies to 'keyring-gen' and 'keyring-certify' API's. Also: rename
'gen-keyring' API to 'keyring-gen'.