Call stop from Mongrel interrupt handler

The `shutdown` method isn't actually in scope because of how Mongrel
evaluates the configurator block. I could have passed the method into
the configurator as a proc in the options hash (as dispatcher is) but
this is simple, too.
Exit from sleep in Reel adapter's interrupt handler
Bump as-notifications dependency requirement to 1.0.
Fix documentation for Webmachine::Events. [ci skip]
Correct MaxAge to Max-Age
Allow Attributes to be set in a Response Cookie
Merge pull request #103 from Asmod4n/patch-2

Correct Cookie MaxAge to Max-Age
Merge pull request #104 from Asmod4n/patch-3

Allow Attributes to be set in a Response Cookie
Corrected MaxAge to Max-Age
Merge pull request #105 from Asmod4n/patch-2

Corrected MaxAge to Max-Age
Use https rubygems source with bundler.
Fix bundler arguments syntax passed for CI.
Don't rely on Rack::Response for sanitizing response headers.

Rack::Response iterates over given body which in some cases,
like Fiber streaming, may block responding to client.
https://github.com/rack/rack/blob/master/lib/rack/response.rb#L35-L38

RackResponse is introduced instead to cleanup Content-Type header
in order to pass Rack::Lint.
Use reel on platform ruby_20 as well.
Also test ruby 2.0.0 on travis-ci.
Fix deprecation warning on ruby 2.0.

"Enumerator.new without a block is deprecated; use Object#to_enum"
Merge pull request #110 from seancribbs/rack-adapter-fix

Fix broken streaming in Rack adapter.
Fix fiber response bodies in JRuby 1.7.4

The fiber response body adapter test failed for Reel, WEBrick, and Rack
(WEBrick backend) adapters.

I don't know why, but replacing the 3rd Fiber.yield with a simple return
value makes the fiber response body adapter tests pass.

The closest I got to finding the root cause was an exception handled in
WEBrick, which is passed to the server's logger's `error` method. The
exception is a java.lang.NullPointerException and the backtrace doesn't
include any lines from webmachine or the standard library.
Wait for server thread to finish

This was previously not possible because I didn't know how to wait for
the Reel server to terminate. This means that servers should never be
running at the same time, so we no longer need the any_available_port
hack.
Merge remote-tracking branch 'upstream/master' into adapter_tests

Conflicts:
	Gemfile
	lib/webmachine/adapters/rack.rb