Improve test script

add usage
verify flag value for -i is numeric
allow multiple targets on the command line
actually capture coverage output
fix lingering GOFLAGS undef issue
fix issue with -i not working at all: ((x++)) returns 1 when x is 0, which is
  incompatible with "set -e"
Fix docker start after minion reboot on GCE/debian

Uncomment docker service state as it should no longer be affected by race bug in docker init.d start script.  Also make sure that the docker service state depends on the cbr state.

Fixes #802
Merge pull request #1116 from thockin/build_cleanups

Improve test script
Services and Endpoints weren't properly sync'ing

They need incremental changes and a resync on start.
Merge pull request #1103 from smarterclayton/get_then_watch

Services and Endpoints aren't syncing properly
Fixed some typos:
Changed "an unified" to "a unified"
Changed "a extra" to "an extra"
Changed "for each pod have" to "for each pod to have"
Move validation errors into their own file
Errors should be part of api/errors, not apiserver

Renames constructor methods to be errors.New<name> which changed a few
places.
Merge pull request #1157 from cjcullen/typo

Fixed some typos:
Merge pull request #1154 from jbeda/salt-reactor

Fix docker start after minion reboot on GCE/debian
In `hack/test-go.sh` treat arguments that start with a dash as go flags.

This fixes `hack/test-go.sh pkg/apiserver -test.run=<a_specific_test_name>`
which was broken by PR #1116.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Also assume arguments starting with dashes are go flags in `hack/build-go.sh`

Tested:
  $ hack/build-go.sh cmd/kubelet -v
  github.com/GoogleCloudPlatform/kubernetes/pkg/...

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
Merge pull request #1159 from filbranden/hack_test_goflags1

In hack/test-go.sh, treat arguments that start with a dash as go flags.
Merge pull request #1158 from smarterclayton/separate_errors

Errors should be part of api/errors, not apiserver
Use shared watch code in kubelet etcd config
Adding files to Godeps should not trigger gofmt or boilerplate warnings
Include pod status in kebecfg humanreadable result.
Merge pull request #1145 from ddysher/pod-print-status

Include pod status in kebecfg humanreadable result.
Merge pull request #1163 from ghodss/exclude_godeps_from_git_hook

Adding files to Godeps should not trigger gofmt or boilerplate warnings
Merge pull request #1138 from bcwaldon/common-watch-code

Use shared watch code in kubelet etcd config