Fix RGB access in custom controls.
Add missing include files.
Fix custom control buffering functions.
Add OO construction API to custom controls.

There's not so much documentation on the newer GLUI's internals, so
hopefully I did this correctly.