Use {% static %} for images

This allows more flexibility with where images are stored, e.g. when
using django-storages.

Thanks to @sparky300 for reporting. Fixes #825