Allow for a limit querystring parameter in the relatedcontent search feed.
#418 Purging the RabbitMQ queues after tests.
Store authenticated userid on cookie, not redis

* Pro: Redis server can now have an eviction policy
* Pro: Smaller deployments can have activity and main redis together
* Pro: Cuts down one redis request per API request
* Pro: Not forced to have an absolute TTL on sessions

Con #1: UserID is visible on cookie. TODO: needs encryption

Con #2: Without absolute TTL, cookie could be hi-jacked indefinitely
(until private key changed). Only difference here between Redis impl is
that the redis cookie will expire eventually. Could attach a timestamp
to cookie and inspect refresh every so often (e.g., setting a new cookie
every 30min would require users to make a request at least every 30
seconds lest they lose their session).
Encrypting userid in cookie
(Issue430) Added graceful shutdown for express, mq and activity
Merge pull request #398 from mrvisser/cookie-session

Using cookie session instead of redis session.
Added more related items in the related unit tests.
"Cleaned up" code.
Merge branch 'related-content-limit' of git://github.com/simong/Hilary into related-content-limit
UI Skinning
UI Skinning follow up.
Removed the extra css config option.
Moved the local storage config to the config.js file.
Revert hiredis to 0.1.13 so it builds on smartos
Minor follow-up on code review
Merge branch 'hiredis-compile-smartos' of git://github.com/mrvisser/Hilary into hiredis-compile-smartos
Skinning timeout.
Added a `parsedSkin` event to the UI Skin parser

Now that there is an event fired when the skin has
been changed, we can have a utility that updates
the config and wait till the events fire.
This makes the unit tests deterministic and
setTimeout is no longer required.
Added getRootDirectory method on LocalStorage

This avoids doing require('../../../config.js).files to retrieve
the root directory for file storage.
Merge pull request #418 from simong/issue-418

Flush MQ after tests
Merge pull request #385 from simong/issue-385

Don't create default file directory on startup