Re-write of bucket calculations, removed old "calc_keys" in favor of
flexible bucket calculations, re-implemented calc_keys specifically for
redis.