Add support for custom url transform

My use case for this is re-writing asset urls to their CDN names when I deploy to production.

cc: @MoOx