Fix #1676 "Do not erase custom required MIP"

- RequiredValidation support boolean or XPath
- clarify DatatypeValidation's handling of required
- update resources
- update dialog
  - new format
  - keep custom required XPath as needed
- update tests