Feature/ngui env config

fixes #554

adds a way to send runtime config to the client + use https://github.com/expressjs/morgan for logging.