Texturing Bugfix

Fixed a bug when texture could not be loaded into shader by generating
textures befero shaders and loading texture data later on when they are
needed
Fixed a bug when setting int per vertex attributes in shader
Updated names of overloaded functions to reflect the type of data in
OpenGL style