OSL merge 2

- Reuse OIIO's Texure system if possible.
- Pass OSL's shading system to scene's on_frame_begin / end.
- Formatting changes.