Implement a minimum (maximum) spanning tree

Includes tests.
Add mst tests into common tests
Use new mst-module in RoutingMiddleware

Does MST calculation on every object, very inefficient.