simplify session cookie options
Merge pull request #21 from kcrayon/sessioncookieoptions

simplify session cookie options
clean up error handling
Merge branch 'master' into multi-domain

Conflicts:
	app.js