projectile.el (projectile-project-vcs): minor cleanup
Refactor `projectile-vc' to allow being used in `helm-projectile-vc'

Added the optional parameter `project-root' for `projectile-vc', so that the
function can be called from `helm-projectile-vc', to eliminate boilerplate code.