Preparations for SYNCOPE-439: now Activiti workflow definition can be read and set either as XML and JSON

git-svn-id: https://svn.apache.org/repos/asf/syncope/trunk@1541959 13f79535-47bb-0310-9956-ffa450edef68