Added C++11 compilation options and started moving drawing functionality to mjModel

Also started with the shader system