Declare new methods for SpotDetectorFactory.

These factories are now in charge of loading/saving to XML, and
generating a suitable GUI panel.
Signed-off-by: Jean-Yves Tinevez <jean-yves.tinevez@pasteur.fr>