Fix: Use TargetClass if exists
Current behavior of the form-generator only uses the application profile id, which is wrong for validation, if a targetClass is present.
coscine/issues#1826
Current behavior of the form-generator only uses the application profile id, which is wrong for validation, if a targetClass is present.
coscine/issues#1826