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.
Perhaps:

Export an ndarray to a PIL object.

Docstring in standard format:

```
Parameters
----------
Refer to ``imsave``.
```