Added templateFile property to compile-templates

Renamed fileTemplate property of compile-templates task to template
property, also added a property to read the fileTemplate from a file in
the filesystem.