Add fast path for querySelector(All) with id selector, class selector and tag selector.

Adding class selector in the same manner as id selector.
So I implemented offline (not live node list) getElementsByClassName in SelectorQuery.cpp.

However, this also affects performance regressions of Parser/query-selector-*.html.

So added more fast path for querySelector(All) with one simple selector (only id selector, class selector or tag selector).

BUG=253425

Review URL: https://chromiumcodereview.appspot.com/18732004

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