Replace CGI.escape_html with CGI.escapeHTML which is also available under 1.8.7
Fix a naming clash between I18n.enforce_available_locales and I18n.config.enforce_available_locales

Renamed `I18n.enforce_available_locales` method to `I18n.enforce_available_locales!`