Fix order of events for character stroke.
Fix getCursorPos bug.
Add grunt plugins for running tests.
Attempt to set correctish properties on key event creation.
Change deleteAll to deleteSelection.
Add selection support to some strokes.
Add tests for most strokes.