Handle article:save event with onArticleSave

Sets new potentially normalized content and adjusts for cursor changes
Remove extra whitespace from lines, fixes #7