pil_plugin can import and export PIL image objects from memory

This pull request adds support for exporting and importing scikit images directly to and from PIL Image objects in memory, allowing users to do their transforms without writing the image to disk.

Two tests are added, following the file read/save tests. Some code was reorganized to prevent duplication.
By [PEP8 I think there are supposed to be two blank lines between top-level functions](http://legacy.python.org/dev/peps/pep-0008/#blank-lines) - or does scikit-image do things differently?