Move middleware to Rack module

Move the Rack middleware into the appropriate module, and doesn't require said
middleware for non-rack client usage.  Also updates usage instructions in the
README.
Overhaul README file

Changes the README from rdoc to the more standard markdown format.