Introduced MFIntShader to handle shader compilation.

Added MFShaderTemplate.
Moved shader compilation into MFIntShader.cpp/h
Support Win8 SDK for compiling shaders.
Remove use of D3DX under VS >= 2012.
Tested the old D3D9X shader code, fixed minor issues.