add version check and flip arrays returned by pil_to_array for matplotlib > 1.2
add version check and flip arrays returned by pil_to_array for
matplotlib > 1.2

matplotlib/basemap,guziy/basemap,guziy/basemap,matplotlib/basemap