Fixed the null implementation cpp files not being in the project anymore.
Implemented mipmap generation.
Refactored shader generation to several smaller functions.
Simple texturing sample now uses mipmaping.