Fix use of CQL3 functions with descending clustering order

patch by slebresne; reviewed by iamaleksey for CASSANDRA-5472
Merge branch 'cassandra-1.2' into trunk