let npm.commands.uninstall() return an array of removed items

Fixes #1754