Integrate builds in openshift origin

Merge of build work into origin repository. Includes API client for origin and k8s.
Because a lot of the objects aren't really pass by value (slices, pointers) and trusting to pass by value to defend against modification is incorrect in that case.