Refactor the SubscriptionService.find_members method to be pure SQL
This branch refactors the SubscriptionService.find_members()
method to use only SQL for querying, filtering and sorting. As a consequence, it's much faster and it will allow improvements such as pagination and fuzzy searching.
It also adds a bunch of unit tests to make sure there is no regression.