Added restful fetcher for "resource" components in templates. Added example rest page and template handler.