Added featured-image variable for pages

I've changed the template so you can not only specify a featured-image variable for posts but for pages as well.