Fixed outdated examples of using the LanguageManager
Fixes #2967: LanguageManager shouldn't throw exceptions
Addressed Jason's review concerns
Fix a JSHint complaint
Fixed unit tests
Added a missing piece of documentation