Fixed test_fields on Windows and some PEP8 love.

Fix is in line 10/11:

    self.assertTrue(guess_content_type('image.jpg') in
                          ['image/jpeg', 'image/pjpeg'])

The rest is indentation and max line length corrections.