Allow timedelta parameters for expire, setex and psetex calls.

The proper redis library allows timedelta objects as well as integers for seconds/milliseconds expire times. I've implemented the change for the three instances where I found this is necessary.