Fix preparing statements when current keyspace is not set

 patch by Aleksey Yeschenko; reviewed by Jonathan Ellis for
 CASSANDRA-5468
Merge branch 'cassandra-1.2' into trunk