Handle channel names and nicks better.
-Channel names are case-insensitive.  Store them and look them up as all lowercase.
-Refactor the non-alphanumeric removing regex into its own function.
-Strip non-alphanumerics from nicks for "stats" and "mostcommon".
Update webstats for PostgreSQL support.  I completely forgot this from the original PostgreSQL support commit.