Update packages repository source(ubuntu && centos)

* add checks && retries for packages repository
source(ubuntu && centos) update process.
* add tests.

Implements: blueprint fuel-upgrade

Change-Id: I9a3eff7431fe8526e99f0fdd29e23c01017b4846
Merge "Update packages repository source(ubuntu && centos)"