Another steo into making the code approach OpenGL ES 1.0 compliance.

Replaced GLdouble use by GLfloat.
Replaced glMultiDrawArrays() use by glDrawArrays(). There are a few
showstoppers with this change.
Replaced glColor3f() by glColor4().
Adding abstractions between OpenGL and OpenGL ES to ease porting.
Replaced non OpenGL ES compatible calls.
Replaced the C math include by the C++ way of including it.
Make use of the OS indepent include header for OpenGL.
Add declarations for gluPerspective and gluLookAt.
Fixed the use of glPolygonMode in OpenGL ES.

Additionally removed dead code and fixed includes. (glew and glos).