OSL RendererServices fixes and improvements

- Copy back normals and tangents from OSL.
- Fixed potential threading issue with get_attribute call.
- Added support for trace() call.
- Added trace example scene.

Is there a difference between this file and `edge_smooth.osl`? Is this a backup of some sort maybe?