PHOENIX-1480 Incorrect query results may occur when VIEW uses indexes from physical table

Conflicts:
	phoenix-core/src/it/java/org/apache/phoenix/end2end/index/DropIndexDuringUpsertIT.java
	phoenix-core/src/main/java/org/apache/phoenix/compile/IndexStatementRewriter.java
	phoenix-core/src/main/java/org/apache/phoenix/compile/WhereCompiler.java
	phoenix-core/src/main/java/org/apache/phoenix/schema/ColumnRef.java
	phoenix-core/src/main/java/org/apache/phoenix/schema/PTableImpl.java
	phoenix-core/src/main/java/org/apache/phoenix/util/IndexUtil.java
	phoenix-core/src/main/java/org/apache/phoenix/util/QueryUtil.java