First steps towards using promises: doRequest, createUser, findUser
Promisefy updateUser
Promisefy delete user.
Introduce router for the subscribes and publishes
Clean up
Promisefy password change requests
Move password change methods to prototype proper
Added dbStructureRequest and promisefied friend and structure methods
Cleanup
rework initialization procedure.
First, inelegant attempt, at a reconnecting system. Needs work
Simplify parameter initialization in Db
Simplified db.connect
Simpler dbPromise
Typos
Clean up db test script at bottom