Allow switching levels for bitwise operation.

Implemented logic to revert to normal levels when the bitwise flag is
not specified.
Export keys array.
Set bitwise flag on configuration.
Tidy module exports.
Do not modify module level constants.
Assert on module log level constants.