Cleanup after plugin install.
Cleanup after plugin install.

During error cases, we dont cleanup correctly. This commit takes care
of removing the plugin, if there are errors after the pull passed. It
also shuts down the plugin, if there are errors after the plugin in the
enable path.

Signed-off-by: Anusha Ragunathan <11258be80bf4b196e47582a3113274a53ec55793@docker.com>

e11137/cli,redpanda/cli,dnephin/cli,cpuguy83/cli,Zebrilee/cli,thaJeztah/cli,docker/cli,allencloud/cli,redpanda/cli,riyazdf/cli,dnephin/cli,cpuguy83/cli,thaJeztah/cli,docker/cli,ashfall/cli,gdevillele/cli,Zebrilee/cli,allencloud/cli,e11137/cli,riyazdf/cli,ashfall/cli