PHOENIX-1434 Stats are not maintained correctly through splits (Mujtaba)
PHOENIX-1432 Run limit query that has only leading PK column filter serially

Conflicts:
	phoenix-core/src/it/java/org/apache/phoenix/end2end/HashJoinIT.java
	phoenix-core/src/it/java/org/apache/phoenix/end2end/StatsCollectorIT.java
	phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
	phoenix-core/src/main/java/org/apache/phoenix/execute/ScanPlan.java
	phoenix-core/src/main/java/org/apache/phoenix/iterate/ParallelIterators.java
	phoenix-core/src/main/java/org/apache/phoenix/schema/stats/StatisticsCollector.java
	phoenix-core/src/main/java/org/apache/phoenix/schema/stats/StatisticsUtil.java
	phoenix-core/src/main/java/org/apache/phoenix/schema/stats/StatisticsWriter.java
	phoenix-core/src/main/java/org/apache/phoenix/util/ServerUtil.java
PHOENIX-1429 Cancel queued threads when limit reached
PHOENIX-1427 Reduce work in StatsCollector

Conflicts:
	phoenix-core/src/main/java/org/apache/phoenix/schema/stats/StatisticsCollector.java
	phoenix-core/src/main/java/org/apache/phoenix/schema/stats/StatisticsUtil.java
	phoenix-core/src/main/java/org/apache/phoenix/schema/stats/StatisticsWriter.java
PHOENIX-1446 Add/fix logging for LIMIT optimization

Conflicts:
	phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java
	phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java
	phoenix-core/src/main/java/org/apache/phoenix/util/QueryUtil.java
PHOENIX-1447 Increase guidepost width default to take into account FAST_DIFF compression
PHOENIX-1448 Fix resource leak when work rejected by thread executor
PHOENIX-1449 Fix potential NPE in delete
PHOENIX-1428 Queries with limit against tenant views is broken
PHOENIX-1440 Support csv quoting in bulk loader

Add support for quote and escape chars in map reduce bulk import.

Original patch by Radu Marias, with very minor cleanup by
Gabriel Reid.

Signed-off-by: Gabriel Reid <greid@apache.org>
PHOENIX-1799 Support many-to-many joins
Phoenix-1462 - Create unit test for COUNT DISTINCT using compression (Ram)
PHOENIX-1456 Incorrect query results caused by reusing buffers in SpoolingResultIterator
PHOENIX-1466 Prevent multiple scans when query run serially

Conflicts:
	phoenix-core/src/main/java/org/apache/phoenix/execute/ScanPlan.java
	phoenix-core/src/main/java/org/apache/phoenix/iterate/SerialIterators.java
	phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java

Conflicts:
	phoenix-core/src/main/java/org/apache/phoenix/expression/aggregator/DistinctValueWithCountServerAggregator.java
PHOENIX-1463 phoenix.query.timeoutMs doesn't work as expected (Samarth Jain)
PHOENIX-1455 Replace org.xerial.snappy with org.iq80.snappy pure Java snappy implementation

Conflicts:
	phoenix-core/pom.xml
	phoenix-core/src/main/java/org/apache/phoenix/expression/aggregator/DistinctValueWithCountServerAggregator.java
	pom.xml
PHOENIX-1468 Add org.iq80.snappy to client and server assemblies