merge mathquill to client
https://redmine.orientsoftware.net/issues/8074
Merge Enter key and Shift-Enter key hooks with client