Generify base DIST functional test to allow different key/value types
ISPN-3477 Marshalled values should keep a single presentation

* Deprecated Cache.compat() method since it's no longer relevant
* Adjust serialization counts in tests according to new expectations