Raise transport exception with response code available as an attribute.
Fixes #78.
Merge pull request #82 from maxlinc/fix_78

Fixes #78: Expose http response status as an attribute of WinRMHTTPTransportError
Merge remote-tracking branch 'origin/master' into v1.3

Conflicts:
	lib/winrm/http/transport.rb
Refactored transport

- Removed unused internal set_auth method from HttpTransport
- Use resp instead of r
- Friendly debug log message
Added WINRM_LOG env var logging setting

This logging setting allows users to specify a WinRM specific log level from anywhere.
Raise a friendly error msg if an invalid transport is specified
Updated copyright headers
Fix raising WinRMTransportErrors
Fix #85 - ensure WQL response is not nil
Bump version to 1.3.dev.1
Added base WinRMError class for all errors to inherit from
Add link to MSDN WinWM versions and OSs
Fixed integration tests to work on Windows Server 2008 (WinRM 1.1)

- Windows Server 2008 (WinRM 1.1) returns the message IDs prefixed with 'uuid:' in the element.
- Made the OS matcher less strict since different versions of Windows return different strings.
Renamed fault_text to fault_description

We expect the exception to contain the entire fault description element
Added WinRM response handler class

Extracted the generic WinRM response error checking code to a new class for testability.
Removed unnecessary require 'nori'
Replaced inline response handling with new response_handler class
Ensure all raw requests and responses are always logged in debug
Moved response handler into same namespace as where its used
Remove retried from send_requst method signature