Group HTTP Errors by type.

This can help shorten rescue blocks for some uses.

http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml

Untested, seeing what Travis does with it.