Adding rectangle packing code to llopengl. It doesn't really have anything to do with OpenGL, but it's typically needed by that portion of the code (the sprite batch) for dealing with 2D images on load.