Refactor yum packages collection mechanism

* Get desired rpms from dependencies and from instances
  functions joined and unified.
* Requirement objects are used instead of package names.

Implements: blueprint yum-refactor-collecting-packages
Change-Id: Ieee913659924dbcfc830350fc7c190b5e53ff565
Merge "Refactor yum packages collection mechanism"