fix #84

import https://github.com/callumlocke/css-url-rewriter/pull/7/into
utils.js
better tests for #29