Port image loader from SDL_image to QImage.

Note that I changed the format from GL_RGBA to GL_BGRA because that's what QImage was giving me.