Page templating

@GunfighterJ had a few issues with re-basing so I created a new branch to merge into gh-pages.

From the previous PR message:
>Refactored the website to allow for more dynamic page content whilst still retaining the current site content.
>
>* Uses a simple routing system instead of rules.php, modes.php etc.
>* Move page markdown files to their own directory
>* Reformatted PHP with PHPStorm