Move a test resource where it belongs
Add chunked response body fun

Adds a new type of streaming response fun. It can be set in a similar
way to a streaming body fun with known length:

Req2 = cowboy_req:set_resp_body_fun(chunked, StreamFun, Req)

The fun, StreamFun, should accept a fun as its single argument. This
fun, ChunkFun, is used to send chunks of iodata:

ok = ChunkFun(IoData)

ChunkFun should not be called with an empty binary or iolist as this
will cause HTTP 1.1 clients to believe the stream is over. The final (0
length) chunk will be sent automatically - even if it has already been
sent - assuming no exception is raised.

Also note that the connection will close after the last chunk for HTTP
1.0 clients.
Merge branch 'chunked-set-resp-body-fun' of git://github.com/fishcakez/cowboy
Fix a bug in REST when allowed_methods is defined when method is OPTIONS
Empty methods list allowed
Make getting deps a function in the Makefile
Update LICENSE date
Spin-off erlang.mk as a separate project
Update Ranch to 0.8.2 and use ct_helper for testing SSL
Change some module calls to local function calls
Add two missing terminate reasons to http/loop handlers specs
Fix incorrect spec for the middleware callback
The return value of cowboy_req:peer/1 is never undefined
The cookie value can only be binary()
Fix two incorrect comments in cowboy_req
Fix the cowboy_websocket:frame/0 type

It accepts iodata() and not binary() for the payload.
Remove cowboy_req:fragment/1

Clients do not send it. We skip the value if we receive it now,
as it shouldn't happen, and won't for all the mainstream clients.
Make the HTTP version type more practical

Now instead of {1, 1} we have 'HTTP/1.1', and instead of {1, 0}
we have 'HTTP/1.0'. This is more efficient, easier to read in
crash logs, and clearer in the code.
Make the return value of AcceptResource callback consistent
Improve the specs for cowboy_req:init_stream/4