Ray cast scripting

- Adds ability for JS to get voxel intersected by the pick ray
closes #1908