Initial support for domain events +

Domain events emitted during command execution are passed on to
Engine.CommandExecuted

updated to latest cake version and refactored some tests