Finish including asset pipeline

I fix the remaining resource requirements and convert all <r:...> tags
to <asset:...> tags.