Fix bug in VT100Grid that let you put the cursor too far down or right by using setCursorX/Y. Fix bug in VT100Screen that used the wrong limits for the cursor's y position in origni mode. Add tests for terminalMoveCursor.