added a way to query user defined pointer data on geometry to the API.

This will be useful in general to allow the renderer client to attach and query an arbitrary user data pointer defined for a geometry. Because the usage is beyond the user defined geometry, I have moved the interface to rtcore_geometry.h.