update ProfileLanguageMiddleware to check site setting localizationlanguage as well
version bump to 5.1.378