Implement checks for installing Chef provisioner.

This commit ensures that the Chef provisioner is installed only if
provisioning is enabled, a Chef provisioner has been configured,
and Chef hasn't already been installed.

It also removes some unneccesary files.