Fix CDI test issues
Entity created Event for sub process is fired twice.
Merge pull request #257 from martin-grofcik/events

Delete variable events are not dispatched on process end.
Merge remote-tracking branch 'remote/master'