Document access traits for spatial indexing

Created by: aprokop

Also provide an example with custom user data. Discuss that primitives is captured by value by lambdas/functors that execute on the device.