Perform cleanup immediately, fixes bug
Assert correct ownership and permissions on plugin conf
Add generic plugin downloader for HTTP and git clones