Merge pull request #61 from deannah/StoreEditText

Note contents in editor are saved when window is closed.
Fix release building.
Disable unused library.
Autoresize editor in raw html mode

fixes #63
Retab notes view.
Call closeEditor instead of storeText on close

Prevents trying to save with no editor open. This was throwing an
exception and preventing any further notes from saving.

closes #65
Don't pass back model on save (web).
Add replaceText method to the editor

Allows replacing text without messing up the cursor.
Dragging now less sensitive and more accurate.