add page class with title and slug methods
Merge pull request #2 from LouisaBarrett/pages

add page class with title and slug methods