Add optimized CF.hasColumns() implementations

patch by Aleksey Yeschenko; reviewed by Benedict Elliott Smith for
CASSANDRA-6941