use pillow instead of PIL

Change-Id: I0d3bc54ab34db9635816c67f66bc150b1661df88
Reviewed-on: http://review.couchbase.org/25128
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>