move to git_clone script

the puppet vcsrepo script is terrible, especially when trying to
change out the origin url. Just import functions from devstack
and drop a lot of code in the process.