Added getters on the Assets.
Fixed Bug #1275 remove unused 'depthAlgorithm' light properties
We don't need lightId anymore to create a depth shader.
Forgot to remove the references.
fix Mesh.initializeMesh() to stop using static reference to a default material to avoid memory leak: by default Mesh will now have a null material if none is provided