discoverd,router: Use random ports for etcd/discoverd during tests

Closes #76

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
travis: Re-enable test parallelism

refs #76

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
travis: Reduce test verbosity

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
host: Fix attach exit wait logic

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
router: Don't escape Request-URI

net/http uses the RequestURI method of the url to write the
Request-URI field. By default this escapes the Path field, which is
stored unescaped. By using the Opaque field we can work around this
and pass the Request-URI we got through to the backend without
modification.

Fixes #177

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
router: Fix typo in test comment

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
host: Use docopt in flynn-host

Signed-off-by: Lewis Marshall <lewis@lmars.net>
controller: Set flynn-controller.app_name metadata

Signed-off-by: Lewis Marshall <lewis@lmars.net>
host: Add flynn-host ps command

Signed-off-by: Lewis Marshall <lewis@lmars.net>
host: Add flynn-host log command

Signed-off-by: Lewis Marshall <lewis@lmars.net>
host: Add flynn-host stop command

Signed-off-by: Lewis Marshall <lewis@lmars.net>
host: Move ps, stop and log commands into cli package

Signed-off-by: Lewis Marshall <lewis@lmars.net>
Merge pull request #181 from flynn/flynn-host-cli

Flynn host cli
router: Fix unregister races in tests

Closes #183

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
test: Only create SSH key for basic test

Signed-off-by: Lewis Marshall <lewis@lmars.net>
controller: Support streaming job events

Signed-off-by: Lewis Marshall <lewis@lmars.net>
cli: Add config.ReadFile

Signed-off-by: Lewis Marshall <lewis@lmars.net>
test: Add scheduler scale tests

Signed-off-by: Lewis Marshall <lewis@lmars.net>