Updated to print html view minus header and footer if PJAX call
Merge branch 'pjax' into release-v0.5