Add a Redis mock for its list functionality (incomplete, needs testing of its own). Refactor some of the Redis queue code to make it easier to test