Issue #3012402 by thalles, Dave Reid: Fixed XmlSitemapLinkBundleSettingsForm to use dependency injection.