expect pageObject when fetching template page

Wiki's template mechanism is described in the How To Wiki pages.
http://fed.wiki.org/add-pages.html

This pull request corrects the getTemplate function to use the pageObject now returned by the pageHandler.get function. Eventually we will remove calls to getRawPage but for now it will be good to have templates working again.