Changes in key generators and value checkers

The request may be a bit more structured into commits, but generally, it provides support for testing of local cache (on multiple machines concurrently), with cache-store, and configurable key size. Few lesser bugfixes are included.