Correctly compare BooleanType values other than 0 and 1

Patch by Sylvain Lebresne, reviewed by Tyler Hobbs for CASSANDRA-6779
Merge branch 'cassandra-2.0' into cassandra-2.1

Conflicts:
	CHANGES.txt
Merge branch 'cassandra-2.1' into trunk