Select a default form type dynamically for form generation
This sets up the main form generation form to pick a default form type dynamically when rendering the form. If there is more than one form type available to the person generating the form no default is returned, forcing them to actively select one. But if they only have one type available to them that type is set as the default to save them a click. This was motivated by the need to allow embedded companies to generate registration forms for their staff, but they should only be allowed to generate 'visitor' forms. It therefore makes no sense to make them click to pick that option.