Doc generation and a couple small bug fixes

I humbly submit a sad little patch that will enable Sphinx API document generation (something that I think will be useful to me down the line, and possibly others)

It also fixes a couple little bugs. 

Thanks a lot for TwistedTorrent. Really well done!