An attempt at using SciJava services for Detector factories.

Signed-off-by: Jean-Yves Tinevez <jeanyves.tinevez@gmail.com>