CSS url() rewriting middleware

This builds on @RCanine's work with the `rewriteCSSURLs` helper function by extracting it into an Express/Connect-style middleware function, while maintaining backward-compatibility when the `basePath` config is passed to the `combine` middleware.

I plan on letting this PR stew for at least a day, I have some comments to make about certain bits of code.