fix-ofLight-globalPosition, globalOrientation

Fixes ofLight position & orientation issues when ofLight is parented.

Signed-off-by: Tim Gfrerer <tim.gfrerer@oo43.com>
added initial primitives, including plane, sphere and icosphere
caching of primitives, moved resolution out of renderer, added draw of3dModel to GL rederer
removed drawing of sphere, added draw method with of3dModel as parameter
added draw with of3dModel as a parameter, but does not render anything yet
added draw method with of3dModel as a parameter, removed drawSphere function and setSphereResolution
added draw function with of3dModel as paramter, removed drawSphere function
removed ofSetSphereResolution and 3d primitive functions. Moved them to of3dGraphics
added normalize and apply tex coords, if the mesh is changed, then it will apply saved tex coords for primitives. Added ofGetIcosahedron method
changed textures and texcoords vector to map for easier setting. Changed setTexCoords for index to automatically create tex coords if there were none.
added set tex coords from texture. Started cylinder generation code.
added cylinder mesh and primitive code
added cylinder drawing code. Changed caching map to hold pointers of objects, so that they instantiate correctly. Will this leak?
removed scaling to stay with ofNode, added enabling, disabling of normals and textures.
removed scaling since ofNode applies gl transform. only enable GL_NORMALIZE if model is scaled and it hasNormals enabled.
fixed scaling of normals in drawNormals function
added cone primitive and mesh, added mode to plane mesh and primitive
added ofBoxPrimitive
added drawing of cone and box
moved setResolution functionality to set function