generate bash completion scripts from XML doc files

This generates the scripts that lets bash do completion per specific tool.
It gets the options from the documentation XML files that are also the
source for the man pages and HTML.
PKCS#11 hashes for cards without RAW (see #241)

    The framework-pkcs15.c did not add hashes correctly if the card did not support RSA RAW.
    This change fixes that and only adds hashes if the card did not specify a list of hashes.
    It also will not add hashes done in software if ENABLE_OPENSSL is not specified.
    Some error conditions are also tested for EC mechanisms.

    See bug report #241 for more information.
Merge pull request #279 from dengert/master

pkcs11-tool sets CKA_DECRYPT=true rather then CKA_DERIVE=true when gener...
Merge pull request #298 from dengert/pkcs11Hashes

PKCS#11 hashes for cards without RAW (see #241)
Merge pull request #238 from eighthave/master

generate bash completion scripts from XML doc files