Fix unwanted GET {0} requests

Because of image prefetch of browsers the <img src="{0}"> templates cause
unwanted /{0} requests to the webserver. Templates are changed to use a
data-src attribute.
Also for notifications.
Merge pull request #439 from oohlaf/fixes

Fix unwanted GET {0} requests