Add use counter for hasAttributes

hasAttributes was removed from DOM4.

BUG=

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

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