PHOENIX-1216 fix code Change spooling directory

Make the spooling directory configurable.

Signed-off-by: Gabriel Reid <gabrielr@ngdata.com>
PHOENIX-1252 Potential lock leak for ungrouped aggregation (Jay Wong)
PHOENIX-1252 Potential lock leak for ungrouped aggregation (Jay Wong)
PHOENIX-1254 Add REGEXP_SPLIT function

Add REGEXP_SPLIT function to create VARCHAR_ARRAYs from a VARCHAR
by splitting on a regular expression pattern.
PHOENIX-1250 Remove use of Closeables.closeQuietly

Remove the use of Guava's Closeables.closeQuietly to allow using
Phoenix within a client-side application that has a more recent
version of Guava. After this commit, Phoenix can be built against
Guava 18.0 (although full integration tests will not work because
HBase/Hadoop still rely on an older version of Guava internally).
PHOENIX-1253 Throw SQLException on prepared stmt

Throw an SQLException if a bind parameter with an invalid index
is set (via setXXX methods) on a PhoenixPreparedStatement.
Remove unused local variable
PHOENIX-1237 COALESCE Function - type of second parameter (Vaclav Loffelmann)
Custom tracing annotations PHOENIX-1196
PHOENIX-1262 Generate phoenix-server jar with and without antlr
PHOENIX-180 Use stats to guide query parallelization (Ramkrishna S Vasudevan)

Conflicts:
	phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
PHOENIX-1258 Fix RegexpSubstrFunction serialization

Correct deserialization of RegexpSubstrFunction so that it can
be used in filters and group-by statements.

Contributed by Jay Wong.
First pass at PHOENIX-1198: added custom annotations to client-side log lines that are within the scope of a user operation
Merge branch '4.0' of https://git-wip-us.apache.org/repos/asf/phoenix into 4.0
PHOENIX-1266 Disallow setting NOT NULL constraint on non PK columns
Phoenix 1040 : Changes to PhoenixRecordReader to fix the scan
Phoenix 1050 : Support for DataByteArray
PHOENIX-1268 Misleading exception when attempting to drop system table