PHOENIX-933 Local index support to Phoenix

Updated pull request after resolving conflicts and handling James review comments.
In a follow up commit, we should look to commonize the above salting logic with this logic for local indexes. It's doing the same thing, it's just adding one byte for the salt byte while the local indexing is adding the region start key.