Small tweaks of wsgiapp.py

Hi, I'm reading wsgiapp.py and fixed a typo and removed an unused import.