Add ZRANK UNIQUE

This is a PR against #943 (which is the functionality sitting in https://github.com/Sylvain-Royer/redis/commits/unique_ties).

These commits are a cleaned up version of the commits from Sylvain-Royer/unique_ties merged into current unstable.

All the tests included with ZRANK UNIQUE pass.