added support for 302, 303, 307 redirects

I'm not sure I'm updating the internal state correctly - but it works for simple cases at least.  XHR requests are automatically/transparently redirected by the browser so I needed this for compatibility node-side.

Thanks for the great module!

Liam