Page class updates

When using db.class a global $pdo is made.
Merge branch 'master' of https://github.com/AuditeMarlow/NLX-Webshop