formatting
don't show the pages nav if there are no pages in the database

for the times where cardboard is not used as a cms but only as an admin
panel
update pjax to v1.8.0
back and forth bug

closes #60