Refactor configuration options

Moves configuration to a sane location and provides a function
interface to set mode, whitelist, blacklist, active rulesets, and
ignored rules. Defaults to DEBUG mode; so active rule enforcement
requires manually setting the mode option to ACTIVE.