More ImagePalette.py tests and remove unused and uncallable new()
Merge pull request #815 from hugovk/ImagePalette

More ImagePalette.py tests and remove unused and uncallable new()