Add support for templates without urls

Support loading of plain text templates with the url
Merge pull request #699 from gitnik/template

Add support for templates without urls