Fix validation for markdown editor

The option was called `validation` but it set the `data-validate`
html attribute, which was confusing.  Now just call everything
`validate`.  Fixes 'new project' and 'edit project' not
performing validation.