Validate method for CollectionType

patch by slebresne; reviewed by thobbs for CASSANDRA-7208
Merge branch 'cassandra-2.1' into trunk