Better check for PNG rendering

Using assertContains fails on Django 1.5 as it tries to convert response
into unicode string, what obviously fails with PNG data. Now PNG
responses can be checked with assertPNG, which tries to load the image
using Cairo.