Fix for GRADLE-2774

I propose this change to solve http://issues.gradle.org/browse/GRADLE-2774

In the bug report 3 ways are suggested to solve it. I chose option 2 and wrote a decorating list which wraps each incoming action into a ContextAwareTaskAction.

Have fun
Robert