Revert "remove MetricSpace and BKTree"

This reverts commit 468e425c749dbe48349e288bbbc9d6159296f13a (#347).
deprecation warnings for `BKTree` and `MetricSpace`
work around a scalac warning wrt annotations and named arguments