Allow STDIN to kubecfg via `-c -`.

Follows the `tar xvf -` convention (because all the other conventions
are crazier?)
runtime.RawExtension must copy the buffer, not use it
watch/iowatcher should log non EOF errors encountered
Cleanup watch encoding (remove dupe Encoding)

Move standard watch encode / decode streams to use
runtime.RawExtension and embed API decoding based on
a provided codec.
Remove unnecessary EmbeddedObjects

Clarify the tests in embedded_test.go to indicate that unmarshalling
of an internal object (runtime.EmbeddedObject) will not work.  Instead,
consumers should decode raw external objects.
Merge pull request #1340 from smarterclayton/cleanup_watch_embedding

Cleanup watch encoding w/ RawExtension
rev. versions to 0.3
rev versions to 0.3
stdout/stderr container log stream
Make "kubecfg -s <port> run ..." select correctly

kubecfg run creates a replication controller which sets all pods with a
replicationController= label, but then sets up a service selecting on name=
instead.  This fixes that.  kubecfg -s <port> run ... can now actually work.
rename labels in kubcfg logic
Merge pull request #1401 from jhadvig/k8s_log_retrieval_update

stdout/stderr writer container log stream
Merge pull request #1390 from smarterclayton/allow_stdin

Allow STDIN to kubecfg via `-c -`.
add new watch event type
convert etcd errors to watch errors
update pkg/api documentation
Merge pull request #1397 from thockin/kubecfg

Make "kubecfg -s <port> run ..." select correctly
handle watch errors everywhere
Adding GetEndpoints method to the client EndpointsInterface
Added test case