Added support for using freemarker templates for resource requests
WW-4363 Adds support for freemarker views in portlet resource phase
Closes #17