Fix bug 922747 - Add support for Heroku CLEARDB_DATABASE_URL
Fix Bug 924974 - Error 404 if the locale is all lower case