Allow the form helper to work with a sub-part of a JSON schema.

This allows form fragments to be defined relative to a property within
the schema.
Merge pull request #300 from hudmol/linked-agent-role-required-bugfix

Allow the form helper to work with a sub-part of a JSON schema.