Validation for S3 UI fields

Closes #30 

Uses the new i18n system for error messages, and HTML5 form validation attributes.
I just don't know how to write all that as a single Regex. With my previous approach of having a validation function I could run several regex checks for a single field.