Simplify Discoverer locking

Always start the discoverer and let it lazily start its thread internally, which removes the need for locking the medialib mutex when accessing it.

This is a first step in refactoring aiming at solving #397 (closed)

Edited by Hugo Beauzée-Luyssen

Merge request reports