Added popups for scopes, moved scope docs, and adapted man page generation

Added help popups for scopes to the html page. Moved the scope descriptions
to plugins/docs and made html and man pages use these descriptions.