bugfix: Moved InstalledLib (warlib) initialization into PostBoot, whe…
…re it's being installed earlier, and initializing WebContainer during application deployment to make sure it's initialized before PostBoot as well
Description
This PR forces loading of WebContainer (if exists) prior to HK2 class scanning.
If this is not done, classes such as @RegisterRestClient that are not directly CDI beans (but are @Stereotypes) will not correctly register as valid CDI beans, and deployments will fail in postboot or when starting the server with applications already deployed.
This PR also moves InstalledLibrariesResolver initialization into post-boot phase, because otherwise the libraries will not be registered in time for deployment of postboot applications.
Fixes #7655 Fixes #7806 Supersedes #7808
@Pandrex247 This one should not break the "new" postboot sequence... let me know what you think
@Pandrex247 ping :)