CMS-4064 Remove Site Templates - enable special rendering of system.page-templates
Now the controller config form is also changed when changing controller.
Corrected typing.