Fix wrong caret positioning.

Test cases for caret positioning added
Merge branch 'ced' of github.com:santhoshtr/jquery.ime into ced

Conflicts:
	src/jquery.ime.js