Add shader permutation for specular, normal-mapped textured surfaces.
pass: avoid redundant change of program.
Introduce internal flags to avoid redundant setting of world, view, projection related states to shaders. This saves 4ms/frame in the Spona test scene.
fix the Chrome 30 regression fixed in  in55bfc684be25d15bebf53bd51ca326badd53fe9e for wireframe mode as well.