Really allow expiry time to be set on kv sandbox resources.

The caveats of #768 still apply, but they're less bad than having Redis fill up.
If you're referring to the ``isinstance`` check, then, yes, use Python 3? :P