Change import statements of PIL modules to support Pillow.

Pillow is the "friendly" PIL fork by Alex Clark and Contributors.
See https://pypi.python.org/pypi/Pillow/2.0.0 for details.