More uppercase changes.
Simplify and document Segment#_serialize().
Handle alpha channels correctly in Raster#get/setPixel.

Closes #209.