fix pod and spelling errors
first pass at middleware tests
first draft psgi middleware support complete