added support for key selector in uniq (see #35)