Discrete collision checking wrapper function.

Add DiscreteCheckTrajectory for getting the collisions given a trajectory.
Add independent executable that exemplifies its use.