Python 3 tweaks to tests/helpers.py
Python 3 tweaks to tests/nose_plugin.py
Python 3 tweaks to tests/test_config.py
Python 3 tweaks to tests/test_connections.py
Python 3 tweaks to tests/test_pymssql.py
Python 3 tweaks to tests/test_sprocs.py
Python 3 tweaks to tests/test_types.py
Python 3 tweaks to tests/test_utils.py
Merge from default into python3

Pick up working version of tests/test_queries.py
Deal with lack of `basestring` in Python 3
Deal with lack of `StandardError` in Python 3
Deal with fact that `socket.gethostname()` returns a Unicode string in
Python 3, and must be encoded to bytes.
Encode user, password, appname, and tds_version to bytes, because they
are Unicode strings in Python 3
Encode charset from Unicode string to bytes for Python 3
Encode server from Unicode string to bytes for Python 3
Encode dbname from Unicode string to bytes for Python 3
Encode query_string from Unicode string to bytes for Python 3
Decode returned column names from bytes to strings in get_result so that
column_names in returned rows are Unicode strings rather than bytes in
Python 3.
Tweak _quote_simple_value and _substitute_params functions for Python 3
compatibility.
in format_sql_command, pass self.charset instead of self._charset