Adding support for different input types in validationRequirementsFromAttributes

- type="number"
- type="url"
- type="date"
- type="email"
- minlength and maxlength are now parsed as integers