Fixes to various typing issues (tested on Windows)

We have observed some typing issues:
On Chrome, Firefox and IE11 it is not possible to type Alt Gr keys
On Firefox and IE11 is not possible to type capital letters with the
CapsLock activated
On Firefox is not possible to type accented characters
On Mac it is not possible to type some characters requiring Alt-key
combinations