BZ-1010237 - session-migration: attempt to get a running process instance fails on strategy not found
Merge pull request #259 from mswiderski/BZ1010237

BZ-1010237 - session-migration: attempt to get a running process instanc...
BZ-1010237 - session-migration: attempt to get a running process instance fails on strategy not found
BZ-980775: in STREAM mode, force event queue flush before executing each query
(cherry picked from commit 582ca92d2a858e53522c3eb7367f736d3a3d2a0b)
BZ-1011521 - session-migration: fireAllRules is ignored
DROOLS-239: reverting bad change
(cherry picked from commit 6e6e80525b9b9c118b522ec6edb46db780c685e3)
move ReteSimpleBeliefSystem to reteoo module
[BZ-1008662] cache zipped files as byte[] in ZipKieModule + fix rule removal
[DROOLS-268] fix rete to use fact handle timestamp when creating a trigger
[DROOLS-216][DROOLS-217] fix EvaluatorWrapper when accessing map's values
[DROOLS-266][BZ-1014157] use native mavel pom parser when kie-ci is on the classpath
BZ1014071 - DataModelOracle: Performance issues when model is large
fix failing examples-api tests
[DROOLS-194] add support for sramp repository in kie-ci
[BZ-1013197][DROOLS-275] allow operator deserialization even when not present in the operators cache
BZ-1013214 - Guided Rule Template validation causes error
[BZ-971008] add test case for inline cast using macthes operator
[BZ-999360] avoid infinite loop when using declarative agenda
JBPM-3814, BZ 1002724 Bugfixes with regards to concurrency (cherry picked from commit 2bf24d6908c1976fca356b2e96279355e863db5a)

- Changed EnvironmentImpl to use a concurrent HashMap
- The most significant persistence changes are in the JpaPersistenceContextManager class
- Reverted locking changes to the SingleSessionCommandService since a fix for JBPM-3814 is not
  possible at the level of the SSCS in the form of locking (because of the app-scoped entity
  manager).
- Also deleted unsused interfaces (ApplicationScopedPersistenceContext, TransactionablePersistentContext)
DROOLS-283 / BZ1015208 SegmentMemory staged LeftTuples not always accessed correctly
-Some times it accesses the current staging list, instead of the one in the segment memory.
-The NotNode should use the passed staging list, and not retrieve it directly.
-They should always use takeAll, to ensure they are thread safe.