Fix string value to match its own description.

The string value was saying it contained one single quote when in fact it contained two.
It was using postgresql syntax of using 2 single quotes to represent 1 single quote.
Fixed an issue where Time was being created as DateTime
fix some bugs when throwing ArgumentOutOfRangeException

Some fixups by roji

Conflicts:

	src/Npgsql/NpgsqlCommand.cs
Improve performance of NpgsqlParameterCollection GetValue by using a dictionary lookup instead of scanning the parameter list.
Performance tests for NpgsqlParameterCollection GetValue
Added #if against LinqBridge

In some cases the conditional csproj compilation rule for
.NET 2.0 only did not work, added #if NET35 to reinforce
Merge branch 'master' of https://github.com/Steven-Berry/Npgsql
NpgsqlParameterCollection

Remove IList<NpgsqlParameter> implementation.
Change name lookup behavior to match SqlParameterCollection: Always return the first match.
Optimize the non-indexed name lookup scan.
Provide a more descriptive error on name lookup failure.
Invalidate hash lookups in a slightly more self-documenting way, and hopefully in all required spots (previous commit had missed one spot I think).
Merge pull request #73 from npgsql/fix-trivial-single-quote-test-string

Fix string value to match its own description.
Merge remote-tracking branch 'npgsql/master' into multiple_notify_fix