First steps towards a more flexible VertexShader interface.
Finished Xflow Vertex Shader interface changes.
Adapted test cases for new Xflow vertex shader interface
Adapted XML3D renderer to work with new Vertex Shader interface
Some more fixes with new Vertex Shader interface.
Bugfix in usage of Xflow.VertexShader in shade.js shader composer.
Integrate shade.js space transfer features.
Extended system matrix parameters to allow transformation of normals to world space.
Small hack to force position attributes to come first in vertex shader.

This is only because some OpenGL Driver / Angel Project have strange problems
when the position attribute is not declared first.
Xflow bugfix: Anonymouse operators still need individual names.
Adapted Shade.parseAndInferenceExpression to new options
Fix bug in ResourceManager.

Signed-off-by: Jan Sutter <jan.sutter@dfki.de>
Added space transformation matrices to js config.
Activated constant propagation
Fix from rebase, normalMatrix is now modelViewMatrixN
Two more bugs from rebase
Added missing modelMatrix in phong shader
Use new WorkSet as interface to shade.js
Change light frustum near far plane calculation.

Signed-off-by: Jan Sutter <jan.sutter@dfki.de>
Adjustments for deferred shading.

Signed-off-by: Jan Sutter <jan.sutter@dfki.de>