Adding hooks to allow RPM to inject code for:

- Validating simple and reference fields.
- Injecting extra options to put the field IDs.
  Added className to each Directive type to pass it to this options callback

Also:

- Made ActionsSimpleDirective.validNames is static now
- Removed native format from actions directive