Added plugin mamager to the page controller and added layout processing

The plugin mamager was necessary to access the layout controller helper, the code was copied from the AbstractActionController.