Stop using Thrift-generated Index* classes internally

patch by Aleksey Yeschenko; reviewed by Dave Brosius for CASSANDRA-5971