Fixes #329 which is about default xref_to_parent in subform

Fix in DataTypeGen for entity.set(tuple), part of the method was not generated but hardcoded. Also fix in FormControllerGen to correct for possible case sensitivity differences.