EditorViewController refactored.
Painting inherits UIDocument, undo/redo partially implemented.
Undo/redo implemented.
Painting is no longer an UIDocument.