Shift modifier support and use it for Persian keyboard

See
https://github.com/wikimedia/jquery.ime/pull/270
https://bugzilla.wikimedia.org/show_bug.cgi?id=54117