This change adds SPI loading for XPackExtensions that allows to extend XPack via an ordinary plugin. This can co-exist with the existin extension mechanism for the time being. Original commit: elastic/x-pack-elasticsearch@bf02b56dee