Mercurial handling major overhaul. Also get some stuff ready for Python 3

- Encode messages in the hgpoll module so that joining them won't result in an error if they cannot be coded to ascii

(0) -100 -30 -10 -2 +2 +10 tip

mercurial