cqlsh should return a non-zero error code if a query fails

patch by Branden Visser and Mikhail Stepura; reviewed by Mikhail Stepura for CASSANDRA-6344
Merge branch 'cassandra-1.2' into cassandra-2.0

Conflicts:
	bin/cqlsh
Merge branch 'cassandra-2.0' into cassandra-2.1

Conflicts:
	CHANGES.txt
CQLSH: adjusted compaction_strategy_options with the latest docs

patch by Mikhail Stepura; reviewed by Brandon Williams for CASSANDRA-7185
Merge branch 'cassandra-2.0' into cassandra-2.1

Conflicts:
	CHANGES.txt
Ninja: add missing "enabled" option to compaction options docs

Done for CASSANDRA-7185
Merge branch 'cassandra-2.0' into cassandra-2.1
Make commitlog archive+restore more robust
patch by bes; reviewed by jbellis for CASSANDRA-6974
inline
prefer MemoryUtil.getByteBuffer to JNA Native.getDirectByteBuffer; specify native endian on the former
patch by bes; reviewed by jbellis for CASSANDRA-6575
Fix potential SlabAllocator yield-starvation
patch by bes; reviewed by jbellis for CASSANDRA-7133
Merge branch 'cassandra-2.0' into cassandra-2.1
cqlsh: Accept and execute CQL statement(s) from command-line parameter

patch by Mikhail Stepura; reviewed by Brandon Williams for CASSANDRA-7172
Merge branch 'cassandra-2.0' into cassandra-2.1

Conflicts:
	CHANGES.txt
	bin/cqlsh
Ninja: Adjust cqlsh unit-tests for 2.1
Fix hardcoded overhead size in commit log test.

Patch by Benedict, reviewed by brandonwilliams for CASSANDRA-6974
More aggressive waiting in KeyCacheTest

Patch by Benedict, reviewed by brandonwilliams for CASSANDRA-7167
Make StreamSession more thread safe

patch by sankalp kohli; reviewed by yukim for CASSANDRA-7092
Merge branch 'cassandra-2.0' into cassandra-2.1
Fix long where int needed in commitlog segment.

Patch by Benedict, reviewed by brandonwilliams for CASSANDRA-7199