Fixed multi-engine issue.

The event listener for crate_before_execute should only modify the query if the event dialect is 'CrateDialect'.

Update 2014-05-13: Included compiler test using multiple engines.