BZ-986000 - DRL-to-RuleModel marshalling improvements

(cherry picked from commit 79b570959e926a5358f29e1e837275ce97b886d5)
BZ-986000 - DRL-to-RuleModel marshalling improvements

(cherry picked from commit a302afe720e9e3eb92356a7df6e6340ddea0ee88)
BZ-1000589 - Process compilation error stack does not include any
information usable to identify the process definition which caused the
error
BZ-1000541 - Cannot open incomplete test scenario

(cherry picked from commit 91a4e6ad8913ea1e5e2c0392495ed0313ee00c84)
BZ-1000541 - Cannot open incomplete test scenario

(cherry picked from commit cefc0f313ccae0f1e8f579da5c1c619c62ced4d2)
BZ-986000 - DRL-to-RuleModel marshalling improvements

(cherry picked from commit f3f41e08026a0d082616aece5ebc1b7407c44b53)
[BZ-986000] fix DRL to RuleModel unmarshalling
(cherry picked from commit 28b600a55e4ce774faf40244367fdb78656a62df)
second deployment of snapshot is not visible in KieContainer
(cherry picked from commit 05d4b2ed40f9564d2cd79fad9763013d640a41b5)
[BZ-1005165] throw a RuntimeException when trying to create in CLOUD mode a KieBase requiring STREAM features
(cherry picked from commit 69dd8626bb40cd86dd59247a908aa8f212b5eb84)
JBPM-3814, BZ 1002724 Bugfixes with regards to locking