Bug 1063274 - Add getLanguage method to BrowserLocaleManager.

This supersedes `leibovic/locale`, adding one commit.