correct handling of optional addProperties

For the template extension we needed the possibility to pass an array
of properties that can be added via the add properities button. We modified
the rdfauthorinitaction to provide an optional argument. This commit corrects
the handling of this optional argument.