adding REST endpoint for getting a list of installed plugins

Cleaned up pull request #1993