fix act-1839
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
Added documentation on setting process variables for method
messageEventReceived.
add missing serviceTask type: camel, mail and mule.
Merge pull request #187 from tiesebarrell/master

Added documentation on setting process variables for method messageEventReceived
Sub process lookup included
Fix double sequence flows
Added documentation on setting process variables.

* Moved main documentation to VariableScope#setVariable() and
VariableScope#setVariables();
* Updated descriptions for RuntimeService#messageEventReceived(),
RuntimeService#setVariables() and RuntimeService#setVariable to point to
main documentation;
Merge pull request #190 from tiesebarrell/master

Added documentation on setting process variables.
Removing distinct from task query to see impact on Jenkins (initiated by http://forums.activiti.org/content/activiti-sql-query-performance)
Merge branch 'master' of https://github.com/Activiti/Activiti
Fixing issue with export of event-listener