switched to db.js as git submodule because current version in bower has big problems, overwrite native Promise to Q.Promise
created routing for offline-capable forms
remove rubbish code