querying: add existsOne function

improves CSSselect’s `:has` recognizably
querying: check if `isTag` in all functions except `find`, use a more functional style

Also, `filter` had to be updated to reflect these changes.