Add exemption for lang param in locale middleware.

There may be some URLs which have other uses for a
'lang' query parameter. This allows you to set such
URLs as exempt.