fix cssUrlRewriting issue with classpath resources
Merge branch 'issue742' into 1.6.x