Asset hashing for image references in srcset

This makes the asset_hash extension respect the image references given in srcset images attributes.

Fixes #1287