Validation for S3 UI fields

Closes #30 

Uses the new i18n system for error messages, and HTML5 form validation attributes.
I don't think that JS library is necessary, you can do it all by yourself.  Actually you have already done that as validate() of auth.js.