Overhaul implementation of a simple asset url view helper

As shortly discussed on IRC.