Add support for readonly and disabled, tidied up support for required.
Bump version.