Plugin manager

Plugin manager for the new plugin structure

 - Install
  - From Rubygems
    - Latest
     - Specific version
  - From gem file

 - List installed plugins
   - All
   - Specific name
   - Specific group

 - Uninstall a plugin

 - Update
   - Single plugin to latest version
   - Single plugin to specific version
   - All to latest version
I will refactor the code below in a more functional style and void using unnecessary intermediate variables.