Merge pull request #32 from glenebob/master

Warnings and .gitignore
Fix bug for array handling when prepared
Unit tests

Added soke tests.
Fixed broken VS2012 test project file (was referring to 2010 Npgsql project).
Tests

Change to a large array of random bytes in ByteaaLargeSupport(); hopefully this will resolve the test failing on mono.
Added another small bytea test.
Native to backend conversion code

Fixed BasicNativeToBackendTypeConverter.ToBinary() (broken in commit d2b636a): Reverted back to the correct "\" when escaping byte values.
Added class BackendToNativeTypeConverterOptions to describe UseConformantStrings, Supports_E_StringPrefix and SupportsHexByteFormat.  Maintain one on each connector for use during encoding.
Push E string prefix and escaping logic down the conversion stack so that array elements can use the same logic.
Only escape \ if the backend is expecting non conformant strings.
Implement string escapes in a function rather than using multiple string.Replace() calls.
Do all bytea string escaping in ToBinary(), and then do not escape its output again.
Encode bytea data in the new hex format when possible (>= 9.0), which cuts some such strings in half.
Don't use the E prefix if the backend doesn't understand it.
Assume non conformant strings on all version 2 connections, since we can't track changes to the setting.  The E prefix causes this to work if the backend is expecting conformant strings.
Expose UseConformantStrings, Supports_E_StringPrefix and SupportsHexByteFormat via NpgsqlConnection.
Removed Debug.WriteLine().
Fixed backward class name.
Remove change from github pull request https://github.com/franciscojunior/Npgsql2/issues/35
Merge pull request #35 from skykiker/bugfix1

Fix bug for array handling when prepared
ToBinary() changes

Replace BitConverter.ToString() with a custom implentation.
In ToBinaryEscaped(), start the StringBuilder at the same length as the source array, not 5 times as long.
Merge https://github.com/franciscojunior/Npgsql2 into native-backend-convert-2

Conflicts:
	src/NpgsqlTypes/ArrayHandling.cs
Merge pull request #36 from glenebob/tests

More tests for Byte[] and bytea support.
Removed unneeded paramater.
I was able to improve speed performance of ToBinaryHexFormst() a little more.
Change to verskon 8.1 for E string prefix support, per documentation.
Merge pull request #38 from glenebob/native-backend-convert-2

Big rewrite and optimization of code which converts data from Npgsql to Postgresql. Native to backend conversion code.

Fixed BasicNativeToBackendTypeConverter.ToBinary() (broken in commit d2b636a): Reverted back to the correct "\" when escaping byte values.
Added class BackendToNativeTypeConverterOptions to describe UseConformantStrings, Supports_E_StringPrefix and SupportsHexByteFormat. Maintain one on each connector for use during encoding.
Push E string prefix and escaping logic down the conversion stack so that array elements can use the same logic.
Only escape \ if the backend is expecting non conformant strings.
Implement string escapes in a function rather than using multiple string.Replace() calls.
Do all bytea string escaping in ToBinary(), and then do not escape its output again.
Encode bytea data in the new hex format when possible (>= 9.0), which cuts some such strings in half.
Don't use the E prefix if the backend doesn't understand it.
Assume non conformant strings on all version 2 connections, since we can't track changes to the setting. The E prefix causes this to work if the backend is expecting conformant strings.
Expose UseConformantStrings, Supports_E_StringPrefix and SupportsHexByteFormat via NpgsqlConnection.