move fast_distinct to corehq.utils.queries and fix typo