common: Moving fatal_error to common

Many other functions could need it, so let's move it to common
common: remove is_deb_distro()

Since commit 3ddc51e523ccae343827b767534baa76eb14bdb6, we shall use
functions from packages file.
packages: Adding more functions

This commit add the following functions :
- install_packages (apt-get install like)
- update_repositories (apt-get update like)
- update_system (apt-get upgrade like)
- upgrade_system (apt-get dist-upgrade like)
- clear_packages_cache (apt-get clean like)

Note this functions works for apt or yum.

base.install got updated accordingly.