as_PIL now supports grayscale

I've made some changes to the pil_support module to allow it to support
grayscale. I've done some testing, but more wouldn't hurt.

TODO: Figure out what to do with ICC profiles and grayscale.