Merge pull request #595 from est77/master

Added missing material models to the API.
small speed optimization in SPPM lighting engine.

avoid sorting photons when we only need to know the distance to the farthest photon.
added a reference.
Added oren nayar to the standard list of OSL closures.