Added getLocale() method to Application which returns the current locale from the config.
Merge pull request #2429 from alexdover/getlocale

Added getLocale() method to Application