Add shift state
Introduce patterns_shift array to support shift key mappings
Persian Keyboard: Shift+Space = ZWNJ and add tests for this
Resolve merge conflicts with master
Merge pull request #303 from wikimedia/shift

Shift modifier support and use it for Persian keyboard