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
Fix handling of EXECUTE with skip_metadata=false

patch by Aleksey Yeschenko and Jake Luciani; reviewed by Sylvain
Lebresne
Merge branch 'cassandra-2.1' into trunk
Merge remote-tracking branch 'origin/trunk' into 7874-jsr223