NPM resource modules, global urlPrefix, better session support

 * Support loading NPM modules as resources
 * Enable setting a global urlPrefix to support reverse proxy scenarios
 * Expose session on envelope
 * Enable use of connect-redis
 * Update demo to show HTML auth without using forms-auth
 * Update README to document new features and session configuration
 * Clean-up linting errors in some files
I didn't think that was the case but now I am curious if I just don't understand promises correctly 😳