populate context classloader in ant task

bean validation / hibernate validator does not seem to work
with the standard ant classloading model.
The thread context classloader needs to be altered to the task classloader,
so all dependency classes will be visible to hibernate validator
(not just its own jar).