migration add varchar and char support
(cherry picked from commit a17854bd2babbaac1079647227f6f3f77ee65f9d)
Fix NpgsqlParameter.Clone() method. It wasn't cloning the npgsqlValue field.

Thanks @Tradioyes for the test and @kukhar for the patch.
Fix #371

(cherry picked from commit d67a54463849e21c01a8bd4eae19cf5299b41696)
From #377
Improved test to check all cloned fields. Thanks @roji for the heads up!

(cherry picked from commit d22213a62682b34f6c428e57b79bae6b36981b97)
From #377
Fixed a problem in NpgsqlParameterCloneTest backport.

Branch 2.2 doesn't contain TypeInfo definition in NpgsqlParameter.
Backport from #367.
Fixing bug in EF migration for non-fixed length string types.
(cherry picked from commit 048070294279ee0b1a595e8ad5d8d07bdac08553)
Fix prepared dispose after connection close

NpgsqlCommand now listens to its connection's open/close events.
On close, sets its prepare status to NotPrepared, avoiding the
DEALLOCATE on Dispose().

A bit of additional cleanup around command/connection relations,
but further work is needed for cases where the same command gets
transferred across connections.

Fixes #393
Relates to #299

(cherry picked from commit 5329b664c4eb57808d5a5529363632c5f2d885e2)

Conflicts:
	Npgsql/NpgsqlCommand.cs
	tests/CommandTests.cs
Add RETURNING clause to Entity Framework update queries.

(cherry picked from commit 7d1ebd3a9dda0c3175c386b98548813c99b04225)
Bump version to 2.2.2
Fix inf, -inf, NaN literals in Entity Framework

Backport from #413
Corrected test cases for 2.2-branch that relied on code in master.
Merge pull request #1 from npgsql/2.2

new version of npgsql 2.2
Merge branch '2.2' into Combined-Improvements-For-2.2.1