build script: move object files to subdir

also:
- protect usage of src files array
- choose architecture for vstudio compilations
- share common flags between windows7 and 8 in compile_NT
add static-analysis build with clang
load OpenGL using GLEW

just import GL/glew.h to get access to all the OpenGL functions.

also made it possible to call the build script from anywhere
importing glfw (darwin and nt)

we use the static library to make linking/distribution easier
implement window opening on NT with glfw
import some libraries from nothings.org
example on how to disable warnings from libs headers
test importing more stb libs
mark in_far as not used (removes a warning)
GLUT_CORE_3_2_PROFILE actually is not available on lion