libraries/singularity: move event chains into server script

1. comments on the pullChain
2. plugged_in startup event for plugins