Add OpenGL to link, fix LDG, test function

* Add OpenGL's library to the linker targets.
* Fix several mistakes in LoadDoomGraphic. It works flawlessly now.
* Add PyDoom_GL_LoadTexture, using it as a simple test function to
verify drawing in OpenGL is functioning right now.