Fixed environment chop -> chomp issue which truncated single character environment names to empty strings
Added unit test for setting chef environment to single character
Removed puts for testing
[CHEF-5180] For consistency, use the username attribute to print the name of the resource in why-run mode.
Make it possible to include Chef::Provider / Chef::Resource
without circular dependencies or missing deps
Prevent tests from overriding rspec's trap handler

Otherwise you cannot ctrl-C the tests.
Fix rspec warnings
Fix constant redefinition warnings in config tests
Fix warnings caused by reloading Config
Configure correct logger to fix logger trap context warnings
Prevent knife application test from reloading code
Silence warnings when testing deprecated APIs
Remove classes before redefining to fix warnings.
Prevent code reloading in knife tests (fixes constant warnings)
Supress stdout/err output from knife tests
Contribution info for CHEF-5180.
Merge pull request #1357 from juliandunn/CHEF-5180

[CHEF-5180] For consistency, use the username attribute to print the name of the resource in why-run mode.
Contribution info for CHEF-5182.
Manually merge https://github.com/opscode/chef/pull/1359.
Contribution info for CHEF-3075.