Prefix URLs in CSS templates

This commit introduces the possibility to define a method to be used to prefix all the image urls inside css templates.