Move OpenGL test code and link to actual Halide output
Cleanup: pass user context to functions that need it, properly deallocate OpenGL objects
Preparation for JIT: call correct halide_release function