BZ-1035246 - Parallel gateways not marked as finished in process instance model

(cherry picked from commit eae185c7de7dd7be0fd08ca59a6c8a8d3d3df398)
clean up of jbpm installer

(cherry picked from commit ecae08381ae172bf691d821799543467a82a0da6)
JBPM-4177-ORA-01400: cannot insert NULL into ('JBPM'.'TASK'.'TASKID')

(cherry picked from commit f86aee4e38c5e9fdcaa9a41b37fad2c8a13756b5)
BZ-991058: Implementing support to access control on rules and processes execution.
(cherry picked from commit a0de3a900c2b23396f8ec76103d5c37b997c5a48)
988810 - BPMS should not allow to build & deploy a project, which has
multiple process definitions with the same ID