Extract datatype from template properties

When adding properties via the 'add property' window, the rdfauthor usually
has not much information about the properties (like for example datatypes).
We're passing some additional information with the template extension (in
the DOM). This commit extract the datatype so that newly added properties
also have the correct widgets.