Plugin info REST endpoint in node info

Another version of pull request #2007, now integrated into node info mechanism.

One minor flaw is that the "plugins" message in the logs appears twice. I am not sure how to initialize the PluginsService correctly without getting the message printed.