Fixed cursorScroll.
Fixed insertTimestamp.
Fixed goSectionDown and refactor Caret.set
Fixed remaining editor functions.
Merge pull request #11 from zencephalon/editor-refactor

Fix remaining editor functions