Fix for ACT-1828: Completing a task in DelegationState.PENDING does not throw ActivitiException
Merge branch 'master' of https://github.com/Activiti/Activiti