Integrate builds in openshift origin

Merge of build work into origin repository. Includes API client for origin and k8s.
Split out v1beta1 into a sub package of api v1beta1 and also add register.go there.