Make devserver run on Python 3

Hi, since Django can run on Python 3 now, I thought it would be nice if devserver could, too.
I didn't use six library for compatibility, because I think the modifications are easy enough to keep them as they are...