Split property nodes with templates

Modifying the split function inside "NodeUtil.scala" to take in count the split of the property nodes by templates. Many files have been modified too, but only to take in count this new function.