Add a if statement to allow values for templates

If template extension is active values in rdfauthorinitAction will
be allowed to let RDFauthor chose the correct widgets.
The values returned from template extension will be given if a
property has xsd:date, -time or dateTime as rdfs:range.