pjax: Fix placement of footer

Footer should not be in #pjax_container, because the footer is not rendered
for non PJAX requests.
Merge pull request #1366 from greezybacon/issue/1353

pjax: Fix placement of footer

Reviewed-By: Peter Rotich <peter@osticket.com>