tools.js: move to lib/tools

change isGlobal() to isGlobalOrUndefined()
models.js: move to lib/models
Merge pull request #54 from asobolev/master

Figures controller / base class for controller tests
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
model.js: readPropery: handle null sources
model.js: Appending to an array is push() not append()
model.js: Model.fromObject: fix check for prop type is function

And only set the prop if value !== null
Merge pull request #57 from gicmo/modelFixes

Small fixes to model.js

Thanks, LGTM
Merge remote-tracking branch 'upstream/master'