Re-arranged code to make it easier to understand, since it previously
looked like a bug, causing somebody to add a TODO.
Renamed BundlerProcessingException now it is used by all content
plug-ins, and not just bundlers.