added uml documentation
bugfix for plain layout rendering

once the plain parameter was set the layout was not being reset to its
default layout when the parameter was removed again

also moved handling of default layouts to the application controller
instead of static configuration