Fix Location header

Fix #414
Improve Websocket example
Merge branch 'fix_created_path' of git://github.com/nevar/cowboy
Fix examples links

Thanks to grass on IRC for the heads up.
Make sure rest_terminate is always called

Also improves error reporting.
Add an example with custom middleware
Merge branch 'add_middleware_example' of git://github.com/acammack/cowboy
Do not reset the connection timeout timer on send

Sends can be successful even if the connection is gone.
Better handle socket closing with loop handlers

We now read from the socket to be able to detect errors or TCP close
events, and buffer the data if any. Once the data receive goes over
a certain limit, which defaults to 5000 bytes, we simply close the
connection with an {error, overflow} reason.
Add a few directions in the REST chapter in the guide

This is obviously not proper documentation. We will properly document
it when the API stabilizes.
Add a REST point on the roadmap
Fix examples in cowboy_static edoc and guide
Merge branch 'static_doc' of git://github.com/acammack/cowboy
Add a REST example that streams its response
Merge branch 'stream_example' of git://github.com/acammack/cowboy
Fix connection state being ignored for unknown length streaming
Update AUTHORS
Update CHANGELOG
Make cowboy_protocol:resume/6 private
Update to 0.8.0