unit test and fix for WWM-70

assumes all URLs denoted in by url() function in <style> are images, and put "im_" suffix.
this is safe for one known exception: url() in @font-face's src attribute.