ISPN-3245 ReplSyncDistributedExecutorTest.testTaskCancellation fails int...

https://issues.jboss.org/browse/ISPN-3245

Replace the static counter with a non-static CyclicBarrier in
DistributedExecutorTest. Removes the need for overriding the method in
ReplSyncDistributedExecutorTest.