Introduce user-specific rank JSON endpoint.

- Also clean up logic for finding a user by nickname/id.
- Add a 'rank' field along with showing the people surrounding the given
  user.