Add tests for SPIDER image files

This found a bug for Python 3, a division needing an `int()`, which has been fixed:

    nvalues = int(labbyt / 4)
        for i in range(nvalues):

The test image lena.spider was created with Pillow.

Also pep8/pyflakes cleanup.