Add a tick mark to the selected MT provider in the menu

The tick images are taken from jquery.ime; credit to Pau Giner.

Change-Id: I5cd196778585b200248d0f1b5f3f74b76be886d9
Hide the providers menu on clicking outside of it

Change-Id: I1de9cf0c56cbcecb2502730ce0d223d6a7e9b855