(MODULES-8046) Added wait function
(MODULES-8046) Added wait function

This allows users writing plans to have the plan wait for a server/servers
to reboot before continuing. This should allow for some very cool patching
workflows to be implemented as plans.

puppetlabs/puppetlabs-reboot,puppetlabs/puppetlabs-reboot