Added methods to GraphicsMesh class

Added update method for pos, tex and index data. These functions
transfer mesh data stored in CPU variables to VBO's on the GPU and sets
local attribute variables used for the shader programs.