Support for lang attr [Issue #97]

The selector now will acknowledge the lang attr on an IME enabled element and will select the language if IM bindings for that given language is present. If not it will default to the language set in preference.

The user will however be able to override the language and choose a different language through the selector menu.