added logging functionality and VS2012 files

changes in opengltest and openglshader.cpp