Add required attrib

Add support for HTML5 required attribute
Merge pull request #88 from bmichotte/master

HTML5 "required" attribute