Isolate Thrift conversion code from schema definition classes

patch by Aleksey Yeschenko; reviewed by Sylvain Lebresne for
CASSANDRA-8261