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 sufficient test coverage of `scan_keys()`. Specifically, it seems we're never doing more than one iteration in the tests.