PalmImagePlugin tests

 * Add a couple of test cases for PalmImagePlugin.py: save an input image as .palm and check the file exists and is non-zero.
 * Write only, so cannot round-trip.
 * Found one bug with Python 3, where a calculation was assumed to be an integer. 
 * Helps towards: Test coverage >= 80% #722.
 * Some flake8.