Fix how locale_on_url strips default lang.
Add tests
Add tests for locals.lang and locals.lang_dir
Merge pull request #45 from humphd/unknown-locale-on-url

Fix how locale_on_url strips default lang.