Add is safe parameter to setValue method

This commits makes it possivel to set valid docx xml into a template
variable.