chore(boot): more formally separate libs are their initializers

engine/lib files now return their own initializer functions which use
injected services.
Merge pull request #7629 from mrclay/lib_inits

chore(boot): more formally separate libs are their initializers