Added callbacks to activate and deactivate editor for interacting with the node at that time

Closes #9
Add hasChanged state method, closes #10
Merge pull request #11 from burlesona/headless-ui-support

Improve support for headless UI
Merge branch 'master' into deactivate

Conflicts:
	src/editor.coffee
Compile / minify JS