Fix Shift-Enter, Ctrl-Enter inputting newlines
Add 'enter' handler to MathField API