Allows a Groovy script to evaluate if the trigger must be executed or not

Hi all,

The feature this commit introduces is the ability to enter a Groovy script as a triggering criteria. If the script returns true, then the trigger is executed - if not, nothing is triggered.

Note that this introduces a dependency on Java 6 (to support the external script engine).

Regards,
Damien.