Add pkg.wait state
Add pkg.wait state

This adds a pkg.wait state, which will execute a pkg.installed state
when a watched state has changes.

Fulfills #6823.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt