templates: Use uri_for to reference static paths.

This commit is provided by (zsh syntax):

sed -i 's|/static[^"]|[% c.uri_for("&") %]|;s/[% size %]/${size}/' **/.tt

And the reason for this change is to make it easier to change the base path with headers like X-Request-Base to be served within a URI prefix, especially when behind a reverse proxy.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>

Created by  aszlig  on September 25, 2013
GS4SFHCPF76AX2U4NLLJGUISF6Y4AHYWEW3GLTDCKVDDXLSIGXUQC
Dependencies
In channels
main
upstream
Change contents