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.
Attachment-event test should only be executed when history allows it
Added convenience method to test super class for deploying the one task process
Merge branch 'master' of https://github.com/Activiti/Activiti
Added convenience method to test super class for deploying the one task process (part 2 - forgot other class)
 fix act-1877
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