Adds redis as a runtime dependency and to the spec helper.
Makes the spec redis instance global so we can use it in tests.
Fixes and bug with and adds a test to check the key expiry.