Implemented C++ wrappers for the old glColor functions.
Implemented C++ wrappers for glViewport and glScissor.
Added byte clamping to idlib.
Formatted whitespace using codemaid.

Signed-off-by: ralph engels <ralphengels@gmail.com>