Refactored DynamicSurveyFormMeta again.

Traded a little simplicity for more robustness. If a field type's
declaration can't be found in the global namespace, we will now attempt
to import it from wtforms.