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
Merge pull request #339 from glennpratt/error_classes

Group HTTP Errors by type.