Fix asset placement and rewriting of revved URLs in stylesheets

Fixes #4 and fixes #5.