Perform gem uninstallation for prune
Be silent when uninstalling gems
Better logging for prune
Make sure the state file only contains unique fields
Sort the state file as well for sanity