Add wsgi support
Merge pull request #23 from ericfrederich/wsgi2

Add wsgi support