setup.py: depend on PIL if it is installed.

Now the package says it requires PIL rather than Pillow if PIL is
installed. However, if neither is found then it says it requires
Pillow. Pillow provides the dependency for PIL but this is a better
way to handle compatibility than simply depending on PIL.

Specified the versions of dependencies.