Use FilesCollection to (de)activate update sites

Most of the logic moved into the core because it has literally nothing
to do with Swing.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>