clean up some constants
add semi-functional tests

- don't mock Tempfile, and check its file mode
hardcore mocking of Tempfile

- rejects any message sent to Tempfile
port node_editor to use ui.edit_data()

- easier to change the code and reduce the code dupliation than to
  write the specs for this object.
Merge pull request #1083 from opscode/lcg/CHEF-4662-11-stable

CHEF-4662: fix insecure knife tempfiles
Turn off temp file mod check tests on windows.
Make config jail optional when creating ConfigFetcher

This option isn't relevant for node json config fetching
Application::Solo must set @chef_client_json

A past refactor was incomplete, leaving references to chef_solo_json.
The contract with the superclass is that json data is set to
@chef_client_json
Make config jail optional when creating ConfigFetcher

This option isn't relevant for node json config fetching
Application::Solo must set @chef_client_json

A past refactor was incomplete, leaving references to chef_solo_json.
The contract with the superclass is that json data is set to
@chef_client_json

Conflicts:
	spec/integration/solo/solo_spec.rb
Merge pull request #1075 from benlangfeld/knife_log_verbosity

Correct prompt to increase Knife log verbosity
Stacktrace should be hidden by default

In testing, some errors were showing a full stacktrace when not using
-l debug.
Add ssl-serve script for future manual test needs
Stacktrace should be hidden by default

In testing, some errors were showing a full stacktrace when not using
-l debug.
Check before creating a new system mutex on windows.

This is needed when multiple user accounts are running chef-client on systems. This scenario is imminent when they configure chef to run as service on windows which by default runs as "Local System" and when they try to run chef client manually as Administrator.

NOTE: Non-admin users do not wait on the run_lock but can create a run_lock if there is not one already.
Ability to process Ctrl+C when waiting for a different chef-client run.

Make sure that we let ruby to process system signals while waiting on system mutex.
do_windows_admin_check() function depends on ohai information if config file doesn't have :node_name.

So we should run it after OHAI.
Merge pull request #1092 from opscode/runlock-windows-access

Check before creating a new system mutex on windows.
Change content type warning to debug

There are certain legitimate cases where this occurs and nothing is
actually wrong, so don't bother users with it.
Change content type warning to debug

There are certain legitimate cases where this occurs and nothing is
actually wrong, so don't bother users with it.