Restore git and local plugins 

Improves restore so that Cordova plugins from git and local repositories
can be restored as well.