Refactor of aggregator code to use an inheritance hierarchy

Removed aggregator specific URL generation code out of injector and ncwms panel objects
Sorry about the big PR!