Added Twig extension for asset() which turns a 'relative' asset URL into an absolute URL based on the request.