Prefetch

Add a new helper function to generate prefetch hints for the page head.

This is related to https://github.com/mozilla/browserid/pull/2777 since it would make that patch somewhat cleaner: https://github.com/fmarier/browserid/commit/e78a8a69307a6eb7bd159bbc0d9a8a80742860b5