Static function to bind and update parameters

Adding OpenGLRenderer static function to bind a parameter, update a
single float, a float[3] and a matrix (float[24])
Overloading OpenGLRenderer function checkForCgError to also take a
second const char for the Cg parameter value