Add tests for RangeSlice sorting and update a comment based on behavior

Summary: Fix Replica lookup in LocalDB and add tests for desired behavior. Comment on some confusing code.

Test Plan: go test

Reviewers: spencerkimball

Reviewed By: spencerkimball

Subscribers: team

Differential Revision: http://phabricator.cockroachdb.org/D110