Fix ChefSpec 4.1 deprecation warnings

Fix some deprecation warnings added in ChefSpec `4.1`:

* ChefSpec::Runner#new.
* ChefSpec::Runner#define_runner_method.
* ChefSpec::Server.

Unit tests included.