Improved loggin in CryptBitSet and CryptBucket
Improved logging in CryptSignature
Added UnsupportedTypeException for functions that only support certian enum values, and not all.
Changed logging from Unexpected error to Internal Error.