Figure controller all methods draft
base test class for controllers implemented
merged several commits
Merge pull request #54 from asobolev/master

Figures controller / base class for controller tests
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