[#2] List of installed packages

- Added hash output containing info on every installed package, its
  state, version, description, etc.
- Removed the debug output and made all the maintenance methods return a
  hash with the command output and exitstatus.
- Added some comments