bug fixes in minimumBy and nearestNeighbor
added nearestNeighbor tests
added nearNeighbors and tests
added kNearestNeighbors
Merge branch 'master' of https://github.com/iraikov/kdtree