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.
fix act-1589
Reference userId in Attachment
fix ACT-1589
finalize act-1589
merged
add missing serviceTask type: camel, mail and mule.
Merge branch 'origin/act-1589' of https://github.com/smirzai/Activiti
Applying Saeid's fix
Merge pull request #189 from xuhuisheng/ACT-1884

ACT-1884: add missing serviceTask type: camel, mail and mule.
Fix for ACT-1888
Merge branch 'master' of https://github.com/Activiti/Activiti
ACT-1890: Multi tenancy support: first cut (runtime support)
Merge branch 'master' of https://github.com/Activiti/Activiti
JUnit scope on parent pom
Missing JUnit direct dependency
ACT-1890: Multi tenancy support: QA fix + deployment migration