Support NaN and Infinity as float constants

patch by slebresne; reviewed by iamaleksey for CASSANDRA-6003
Merge branch 'cassandra-2.0' into trunk