More updates for typescript 0.9

I have made updates to nock and gently to work with typescritp 0.9.

i have also committed fixes for request and swiz which I had in my local last time and didnt get put into the last pull request.