Add initial lifecycle and hooks into kubelet.

Yes, err is shadowed. I assumed that was intentional?

There's chatter about making our api not take YAML; I'd prefer to be consistent and use JSON for structured info.