Added smoketests for variable layout.
Improved alignlayout so that it has more intuitive behavior when collapseparent is false. Created smoketest for alignlayout.
Added a smoketest for spaced layout.
Added a smoketest for shrinktofit.
test
test end
Test cases for bug [#83612232]
Fix duplicate oninit for autoloaded classes

[Delivers #83612232]
wip
wip
wip