Improved handling of the object manager in Layout.pm.
Merge branch 'master' of git.otrs.com:otrs/otrs