Fixes #329

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.