added slug for Page, added page lookup
rearranged base.html, added permalinks