Add an option to use a custom layout for pjax views

This allows using a minimal layout containing a title tag so that the page title will be updated when the pjax page is loaded.