Add another level of mod_rewrite sanity checking

Per #273. This helps with servers that don't permit
apache_get_modules(), but it doesn't yet tell us whether AllowOverride
permits use of RewriteEngine in .htaccess.