Compactify generated UID generator assembly and generally cleanup code by storing tev stage hash values in a struct.
Optimize shader uid checks by checking the number of uid values which are actually used.
Compactify VertexShader uid struct.
PixelShaderManager: Revert code introduced mainly in revision 0fdeb81038d9.

The shader constant usage profile functionality is still buggy and the code using it wasn't ever meant to be merged to master.
Finishing touches.
Merge branch 'shader-uids-awesome-after-hours'.