make cache serializer inner classes static
Merge branch 'cassandra-2.1' into trunk