Added passibilities to define mappers for sorting fields.
Added validator for locale record
Added default behaviour if locale could not be detected from route