Bugfix and test improvement.
Add sitegearSession middleware, which generates config for cookieSession.
Tests for sitegearSession middleware, and settings.json for unit tests.
Unit test improvements.
All unit tests now check callCount after calling toHaveBeenCalled() or toHaveBeenCalledWith().
All unit tests now use common settings.json file.
Log stack trace for errors.
Changes from npm.
Settings expansion
Unit tests for functions in utils.
Rename some tests.
Add some tests.