Moved deleteSiteTask from Site to SiteManager

It needs to rewrite the sites.yaml, reload the site manager, and it should be still accessible when the
site has been deleted.