Bug 856752.  Reinstate Node.hasAttributes.  r=khuey