cli: Improve documentation for app commands

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
cli: Improve docs, add examples

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
cli: Fix up formatting of release docs

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
website: Prepend newline to example code blocks

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
cli: Standardize on tabs in command doc strings

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
website: Bump CLI docs json

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
Merge pull request #334 from flynn/cli-docs

More CLI docs
Website: Tweak development page

Basic changes to formatting of Dev page

Signed-off-by: Dominic Serio <dominic@flynn.io>
Website: Correct link & formatting on installation

Minor changes to formatting, but does fix link to CLI page.

Signed-off-by: Dominic Serio <dominic@flynn.io>
website: Fix link on Installation page

Signed-off-by: Lewis Marshall <lewis@lmars.net>
Merge pull request #345 from flynn/website-fix-link

website: Fix link on Installation page
pkg: Add SSE writer package.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
router: Use type composition for httpRoute.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>

Conflicts:
	router/http.go
router: Bring TCP implementation closer to HTTP.

Fixes #56

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
router: Allow all HTTP methods.

This is something the user's server should be handling, really.
One example is a server disallowing POST requests. With this
removed, PATCH verb should now work.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>

Conflicts:
	router/http.go
router: Use similar data structures to HTTP for TCP.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>

Conflicts:
	router/tcp.go
router: Move listener handling logic into tcpRoute.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>

Conflicts:
	router/tcp.go
pkg: Move sseDecoder to the sse package.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>

Conflicts:
	controller/client/client.go
router: Update TCP test to work with the new backend structure.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>
router: Use a mutex when doing a get/set on tcpRoute.service.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>