Phoenix-1263 Only cache guideposts on physical PTable
PHOENIX-1251 Salted queries with range scan become full table scans
Merge branch '4.0' of https://git-wip-us.apache.org/repos/asf/phoenix into 4.0

Conflicts:
	phoenix-core/src/main/java/org/apache/phoenix/iterate/ParallelIterators.java
PHOENIX-1251 Salted queries with range scan become full table scans
PHOENIX-1310: Spill files filling up /tmp on server(Siddharth Wagle)
PHOENIX-1251 Salted queries with range scan become full table scans
PHOENIX-1030 Change Expression.isDeterministic() to return a enum of values ALWAYS, PER_STATEMENT, PER_ROW (Thomas D'Silva)
PHOENIX-1320 Update stats atomically
PHOENIX-1323 Use utility method to get HTableInterface for scans from coprocessor
PHOENIX-1315 Optimize query for Pig loader
PHOENIX-1325 Pass in instead of calculate if we've crossed a region boundary in ScanRanges intersect methods
PHOENIX-1257 Upserted data seen by SELECT in UPSERT SELECT execution (Lars Hofhansl)
Fix comparison for min time before doing an update stats and set small min in test
Set frequency for stats update to 0 for testing
Fix constant declaration for better readability
PHOENIX-167 Support semi/anti-joins
PHOENIX-1289 Drop index during upsert may abort RS (daniel meng + jyates)
PHOENIX-1305 create index throws NPE when dataTable has specified default column family (daniel meng)
PHOENIX-1107 Support mutable indexes over replication

Adding test to ensure that we still have indexes working over replication, rather than
just relying on the fact that it 'just works'.
PHOENIX-1321 Cleanup setting of timestamps when collecting and using stats
PHOENIX-1317-Test on loading data from Index table