Added support for RGB images

Closes https://github.com/PistonDevelopers/opengl_graphics/issues/75
Merge pull request #78 from bvssvni/master

Added support for RGB images