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
CQLSH: adjusted compaction_strategy_options with the latest docs

patch by Mikhail Stepura; reviewed by Brandon Williams for CASSANDRA-7185
Ninja: add missing "enabled" option to compaction options docs

Done for CASSANDRA-7185
Fix potential SlabAllocator yield-starvation
patch by bes; reviewed by jbellis for CASSANDRA-7133
cqlsh: Accept and execute CQL statement(s) from command-line parameter

patch by Mikhail Stepura; reviewed by Brandon Williams for CASSANDRA-7172
Make StreamSession more thread safe

patch by sankalp kohli; reviewed by yukim for CASSANDRA-7092
Fix IllegalStateException in CqlPagingRecordReader for inputPageRowSize

patch by btheisen reviewed by dbrosius for cassandra-7198
Quiet the unsafe use warning during build
Fix the InvertedIndex trigger example

patch by Anthony Cozzie; reviewed by Aleksey Yeschenko for CASSANDRA-7211
Close java driver Cluster in CQLRR.close
patch by Mariusz Kryński; reviewed by jbellis for CASSANDRA-7228
Exclude xerces to fix hadoop build issue.

Patch by Sam Tunnicliffe, reviewed by brandonwilliams for CASSANDRA-6877
Fix pig tests.

Patch by Alex Liu, reviewed by brandonwilliams for CASSANDRA-6877
Support authentication in CqlRecordReader

Patch by Jacek Lewandowski, reviewed by Alex Liu for CASSANDRA-7221
Add --resolve-ip option to 'nodetool ring'

patch by Yasuharu Goto; revised by Mikhail Stepura for CASSANDRA-7210
Backported CASSANDRA-5818 to cassandra-2.0

patch by Lyuben Todorov; reviewed by Mikhail Stepura
reduce garbage on codec flag deserialization

patch by belliottsmith reviewed by dbrosius for cassandra-7244
Improve javadoc for KeysIndex

patch by plin reviewed by dbrosius for cassandra-7253
allow num_tokens to be unspecified, as described in the yaml
Fixup for CASSANDRA-6914: null handling, ...

patch by slebresne; reviewed by thobbs for CASSANDRA-7155