Change how the JSoup transformation stuff works to be more flexible.

 It is now implemented as a copy task extension DSL.