Implemented FORGE-1210 - PostStartup and PreShutdown events should be fired to all addons.
Test if Future is done in order to avoid CancellationException
Prevent NPEs
Added test for resolveVersions