BZ-1168318 - Information about the ProcessDefinition cannot be retrieved after deploying via DeploymentService

(cherry picked from commit f90403543ce0567f752588e45848cf76e89168a4)
BZ-1165101 - DB2 SQL Error when cloning repository

(cherry picked from commit 571c48afec81b7191ebcc9320f565f2ef7f0efbe)
BZ-1165089 - [RFE]process initiator（or process admin） can not check process instance history details

(cherry picked from commit 7a69f4dcb9ad358538181fd89db13b0f6589311a)