changed template files resolver to return url instead of file supports classpath resources

Change-Id: Icd0461b426cdfc929e74005eb8629c7316e2324b