Lua mouse picker function

It shows the cursor and accepts all mouse click events until
one is made, at which time the coords are calculated into 3D
using a raycast and then the resultant vector is returned to
Lua via a bound function