Allow CassandraDaemon to be run as a managed service

Patch by Heiko Braun, reviewed by brandonwilliams for CASSANDRA-7997
Fix dupes in DISTINCT queries on static cols w/ paging

Patch by Tyler Hobbs; reviewed by Sylvain Lebresne for CASSANDRA-8108
Fix hint replay with many accumulated expired hints

patch by Aleksey Yeschenko; reviewed by Jonathan Ellis for
CASSANDRA-6998
Merge branch 'cassandra-2.0' into cassandra-2.1

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

Conflicts:
	CHANGES.txt
	src/java/org/apache/cassandra/db/HintedHandOffManager.java
Merge branch 'cassandra-2.1' into trunk
Add DateTieredCompactionStrategy

Patch by Bjorn Hegerfors; reviewed by marcuse for CASSANDRA-6602
Fix IAE in Tuples.InValue with pre-v3 protocol

Patch by Tyler Hobbs; reviewed by Sylvain Lebresne for CASSANDRA-8062
Merge branch 'cassandra-2.1' into trunk
Merge branch 'cassandra-2.0' into cassandra-2.1

Conflicts:
	NEWS.txt
Merge branch 'cassandra-2.1' into trunk
Emit metrics for CAS

Patch by Sankalp Kohli, reviewed by brandonwilliams for CASSANDRA-7341
Merge branch 'cassandra-2.0' into cassandra-2.1
Emit metrics for CAS

Patch by Sankalp Kohli, reviewed by brandonwilliams for CASSANDRA-7341
Merge branch 'cassandra-2.1' into trunk

Conflicts:
	src/java/org/apache/cassandra/service/paxos/PaxosState.java
Emit metrics for CAS

Patch by Sankalp Kohli, reviewed by brandonwilliams for CASSANDRA-7341
Merge branch 'cassandra-2.0' into cassandra-2.1
Merge branch 'cassandra-2.1' into trunk
Update yaml comment about rpc_max_threads with HSHA

Patch by Mike Adamson, reviewed by brandonwilliams for CASSANDRA-8116