tools.js: move to lib/tools

change isGlobal() to isGlobalOrUndefined()
models.js: move to lib/models
Application: end point submission takes now an id
editor.js: the editor app
editor.js: basic editor without post request
models.js: fix guards for missing new in model classes
editor.js: hide uuids as hidden data in the page
editor.js: adapt to new url scheme
Merge branch 'pr/55'

Conflicts:
	conf/routes