[Olena-patches] 1871: Add functional M-Watershed algorithm and tests.