Fix #14: python 3 redis cache import issue.
Allow an expires field for the redis cache.

This needs to be implemented in the cache controller as well in order
to actually use it. At this point it is at least barely testable.