Made render related methods non-const
Pass OSL's shading system to assemblies. Other small fixes.
Fixed error in last commit
Merge pull request #291 from est77/OSL_merge

OSL merge #3