Assign asset host protocol dynamically based on request.

Using a relative protocol like //www.inaturalist.org was causing a
problem with wicked_pdf's view helpers, which try to use open-uri to
open the file and read it when making the pdf. open-uri doesn't seem
to like relative protocols.
Removed reference to missing CSS file.
Minor catch for an integrity problem that shouldn't exist.