Fix issue #11 (Frequent error in pages class)

Was using $page->head instead of $page->title for <title>