required attribute exist check was added for ie8

In case when we have custom method and attributes for it, "requiredif"
(on example) that depend of any condition (we use unobtrusive library
for asp.net project with custom attributes for model), ie8 think that we
always should have required for it and when we comparing for required
attribute in core js file, it is always true even it is not exist on
element in dom . Fix contains additional check for attribute exist.