Add script for setting expiry and manipulating redis keys.

This is needed for dealing with sandbox key value store Redis keys.
We don't have a test for the `key is None` branch of this.