Modularize new WSGI implementation

Places the base classes (Response, ResponseMessage, Wsgi) into a "base"
module for access across the package. Also includes some cleanup of how
the handlers are implemented and adds documentation.