KDTree: implemented inball and exclude option

I added some tests to test/kdtree.jl as well which seem to pass.