FORGE-988: AddonManager refactoring

This must be merged when https://github.com/forge/core/pull/330 is applied