Make cache serializers pluggable

patch by Blake Eggleston; reviewed by Aleksey Yeschenko for
CASSANDRA-8096