Optimize CdiTaskListener to get ProcessDefinition from cache and not
execute an additional command.
[ACT-1848] Handle MultiInstanceActivityBehaviors
[ACT-1339] Calling ActivityEndListeners within an AtomicOperation.
Add wildcards to osgi import with resolution:=optional

The manifest generation will only apply the optional resolution to the exact package defined (e.g. com.fasterxml;resolution:=optional will apply resolution:=optional to com.fastexml but not to com.fasterxml.uuid). When deploying activiti-engine, karaf complains about missing bundles (junit, drools, com.fasterxml.uuid) that are supposed to be optional.
Reference userId in Attachment
 fix act-1877
JUnit scope on parent pom
Missing JUnit direct dependency
ACT-1890: Multi tenancy support: QA fix + deployment migration
change paremeter processInstanceId to activityInstanceId
change line separator to unix
ACT-1890: Multi tenancy support: QA fix (and fixing update sql which was wrong)
ACT-1890: Multi tenancy support: QA fix for mysql (can’t target table in from clause)
ACT-1890: Multi tenancy support: QA fix for mysql (added method to map db-specific statements for updates)
ACT-1890: Multi tenancy support: QA fix for mySQL
ACT-1887: fix to prevent duplicate inserting of variables is some cases
Fixing compile issue with renamed test-method
ACT-1896: IS_ACTIVE_ now prefixed to prevent clash with ACT_RE_PROCDEF
Add create and last updated time to HistoricVariableInstance
Taking into account the value of "Loop type" property for isSequential