Better url rewriting for compression of CSS files

Proposed solution allows:
* Multiple url rewrites per line (useful when aggregating already minified CSS files)
* Adds https as a valid case not to rewrite