PHOENIX-933 Local index support to Phoenix

Updated pull request after resolving conflicts and handling James review comments.
Add check here for if (dataTable.isImmutableRows() && statement.getIndexType() == IndexType.LOCAL) and just throw a SQLException with a new error code that local indexes aren't allowed on tables with immutable rows.