Addition of support for SQL user config (scores/whitelist/blacklist) and a couple of additional parameters

Hi,

I've made a few additions to your module which help it fit my company's use case, and could be useful to others.  I hope you'll find that I've fitted it in to your code without disrupting anything and that it meets your own sort of style expectations.  Let me know if there's anything you would prefer me to change.

Basically, the changes are primarily to support the configuration of user scores/whitelists and blacklists in SQL.

Please let me know if you have any thoughts/reservations.

Many thanks.  Tom.