Merge changes from topic "install_constraints"

* changes:
  Include bounded services when calculating package dependency
  Implement AppStateHelper