fixes #3510 plugin interface for registring a plugin
including
name url, description, author, author url,
adding permission
adding roles
manipulating menu items.