Reduce totalBlockFor() for LOCAL_* consistency levels

patch by Nicolas Douillet; reviewed by Aleksey Yeschenko for
CASSANDRA-8058
Merge branch 'cassandra-2.0' into cassandra-2.1

Conflicts:
	CHANGES.txt
	src/java/org/apache/cassandra/service/DatacenterWriteResponseHandler.java
Merge branch 'cassandra-2.1' into trunk
Keep sstable level when bootstrapping

Patch by marcuse; reviewed by iamaleksey for CASSANDRA-7460
Remove UDF-as-class functionality

patch by snazy; reviewed by slebresne for CASSANDRA-8063
Fix spin loop in AtomicSortedColumns

patch by graham sanderson and benedict; reviewed by yukim for
CASSANDRA-7546
Merge branch 'cassandra-2.1' into trunk
Merge remote-tracking branch 'origin/trunk' into 7813-udf-keyspace

Conflicts:
	src/java/org/apache/cassandra/cql3/functions/ReflectionBasedUDF.java
	test/unit/org/apache/cassandra/cql3/UFTest.java