Make selector list pseudos work with class invalidation sets.

Selectors like :not and :-webkit-any have selector lists. Classes, ids and
tag names in those lists were not taken into account when building class
invalidation sets.

Re-introduce a white-list for supported pseudos and disallow :not and
:-webkit-any for now.

R=esprehn@chromium.org,chrishtr@chromium.org
BUG=344893

Review URL: https://codereview.chromium.org/174013010

git-svn-id: svn://svn.chromium.org/blink/trunk@167560 bbb929c8-8fbe-4397-9dbb-9b2b20218538