get some exception safety, using Cython's built-in exception translation

Uses a hack to get around limitations in Cython, see pcl/indexing.hpp.

Also, we no longer need to use the at member when bounds checking is not
needed.