OSL merge #3

- MasterRenderer's render related methods are now non-const.
- Pass OSL's shading system to assemblies during on_frame_begin.
- Fixed small things in previous PRs.