Refactor AndroidStudio class to factorize some fn

* Some functions will be useful for Android Eclipse as well (the download
  page having the same structure), so factorize it.
Support glob in decompressor for dir to unpack
Add a get_icon_path helper
Keep file extension when dowloading if any

* We do keep now the file extension that we downloaded if there is any.
  This enables decompressing when based on extension.
Add support for decompressing zip files

* zip files with the ZipFile utility doesn't preserve the file stats. Use then
  a ZipFileWithPerm for overriding the extraction and fix the perm.