Close server after test has ended.

This closes #100 as much as [PR#112](https://github.com/visionmedia/supertest/pull/112) (I actually cherry-picked @ranzwertig's commit on top of master and made a minor fix), and adds a test for the functionality.