starting the refactoring
Merge pull request #5 from varvara889/refactor-handlers

starting the refactoring
remove functions checkConnectShowPage, dataInput; replaced makeConnect and dbConnect by db_connect and prepare_dbconnection
Merge branch 'master' of github.com:varvara889/db_browse
postgres connection config object instead of connection string (repeating)
connectionStatus[...] -> database[...] and some minor changes in start.js
one more bit of refactoring in start.js
code formatting
changing_parameters() -> set_variables()
various small code issues
refactoring: respond() instead of just.render()
some additional logging for debugging
req.params.path fix in loadUser()
logging database connections
string replace: response -> res
correcting the mistake of commit 9151324
another bit of code formatting, minor
introducing prepare_locals() and rendering templates with res.locals
employ prepare_locals as a middleware
simpler template extend syntax