Integrate builds in openshift origin

Merge of build work into origin repository. Includes API client for origin and k8s.
This probably needs to be abstracted differently.  There's an "env" method declared in another command, let's try using that.

We should also be checking these things up at the top, rather than deep in this method (yes the method is too long, but we should try to force ourselves to keep clean.