Lowercase all queries

Users don't reliably use case in their queries, so we're not going to
use it in best-bets in the foreseeable future.  Lowercasing them means
we have a more consistent list, and also don't get bitten by MySQL's
default case insensitive collations.