Integrate builds in openshift origin

Merge of build work into origin repository. Includes API client for origin and k8s.