PHOENIX-933 Local index support to Phoenix

Also, if it's the same, can you use context.getCurrentTable().getTable() instead as it's a bit more readable.