Try utf-8, the system’s default encoding, and latin1 when reading egg_info-files to avoid UnicodeDecodeErrors at the installation of a package.
Fix test to run on Python 2.6.
Merge pull request #1396 from dstufft/decode-egg-info

Decode egg info