Decouple provisioner from resolver and installer

It should be possible to use the provisioner without resolving cookbooks or installing Chef.

This makes the code easier to understand and to extend.