major refactoring, restructure functionality

* merge reset and cancel button functionality into discard button
* view enhancements
* simplifying javascript code
major refactoring, restructure functionality

* merge reset and cancel button functionality into discard button
* view enhancements
* simplifying javascript code
Merge branch '23-codemirror_integration' of github.com:ontohub/ontohub into 23-codemirror_integration

Conflicts:
	app/assets/javascripts/codemirror-custom.js
disable cursor blinking in non-editing mode
Use button tags and specify the type, because the "Commit" button rendered smaller in Firefox with input tag.
Merge branch '23-codemirror_integration' into develop