make forms closer to HTML specs by setting field attributes, etc
don't override required attribute for rendering the form initially
Merge pull request #36 from pkkup/master

make forms closer to HTML specs by setting field attributes, etc