engine: start discovery thread only if enabled

Checks the external scheduler configuration before starting the external
scheduler discovery thread. Added logging for better tracing.

Change-Id: Ibac067131d3725d39afaf2f4941165eccdb60372
Signed-off-by: Laszlo Hornyak <lhornyak@redhat.com>