Backport first patch of 6975
Merge commit '362e54803434053fea25f874f64c69bdc1db78da' into cassandra-2.1
Use prepared statement internally

patch by slebresne; reviewed by mishail for CASSANDRA-6975
Merge branch 'cassandra-2.1' into trunk