Add folding to dataformat editors
This merge request adds folding to the data format editor so that when having a long list of fields or big fields their size can be reduced.
As a drive by commit it also fixes an issue with the creation of NameLineEdit when only the parent parameter is passed.
Relevant issue(s) fixed
Fixes #236 (closed)