Add support for properties maxlength, title, and pattern (html5).

Add support for properties maxlength, title, and pattern (html5).