Changed API to use a "direction" parameter for specifying CW/CCW/shortest, instead of three methods for each operation.

- Deprecates the "three-fold' API.
- New "parameterized" API not yet implemented for -nearestIndex… methods.