Remove depedency to python-magic

Prefer use of mimetypes
Bugfix fail to load local package
Force to read egg as binary
Parse package_type and include it in simple list