Fix long where int needed in commitlog segment.

Patch by Benedict, reviewed by brandonwilliams for CASSANDRA-7199
Merge branch 'cassandra-2.1' into trunk
Work around netty offheap capacity check bug

patch by tjake; reviewed by Mikhail Stepura for CASSANDRA-7196
Merge branch 'cassandra-2.1' into trunk
Fix IllegalStateException in CqlPagingRecordReader for inputPageRowSize

patch by btheisen reviewed by dbrosius for cassandra-7198
Merge branch 'cassandra-2.0' into cassandra-2.1
Merge branch 'cassandra-2.1' into trunk
Fix repair hang when given CF does not exist

patch by yukim; reviewed by krummas for CASSANDRA-7189
Merge branch 'cassandra-2.1' into trunk
Follow up on CASSANDRA-7189

fix hang when no CF name is given
Merge branch 'cassandra-2.1' into trunk
Allow c* to be shutdown in an embedded mode - make SlabPoolCleaner a daemon

patch by dbrosius reviewed by jbellis for cassandra-5635
Merge branch 'cassandra-2.1' into trunk
Followup to CASSANDRA-6916 - only close bf if we have not opened early.

Patch by benedict; reviewed by marcuse for CASSANDRA-6916.
Merge branch 'cassandra-2.1' into trunk
Remove (buggy) duplicate call to Frame.release
Quiet the unsafe use warning during build
Merge branch 'cassandra-2.0' into cassandra-2.1
Merge branch 'cassandra-2.1' into trunk
Remove duplicate compiler flag