Git facade refactor to support OSGi deployments

Puts in place mechanism for git facade to be provided by OSGi service so fixes #1682, fixes #1683, but still requires work on fabric8 side to implement.