[PLAT-3486] Implement NonVersionedRedisSecuritySource.

This is a non-versioning SecuritySource that is backed by Redis.
Also involved several changes to extract out common functionality,
and to use Charsets.UTF_8 correctly (to avoid leaving trailing
null bytes when putting key names into Redis).