Fixes #3860 - automated discovery provisioning

Replaces https://github.com/theforeman/foreman_discovery/pull/97
Should we return the failure case to the UI so the users knows to go manually reboot the host?