Updated `CleanProxy` so that it also takes into account requirejs output/configurations.
Moved some methods to TaskProxy and added some dependencies.