Switch to Pillow from PIL

Something seems to have gone awry with PIL on pypi. This switches to an alternate distribution called Pillows. The tests still pass and coverage of the file that involves imaging is good, so I think it ought to be OK. However, risk of breakage seems high so let's be careful.