Added support for RGB images

Closes https://github.com/PistonDevelopers/opengl_graphics/issues/75