Detection of Parameter Direction in DeriveParameters method.

This detection is necessary because currently this method defaults all parameters with Input direction and when using functions that have OUT or INOUT parameters they aren't updated.
(PR - updated for current master)
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
DeriveParameters Test (updated)

Update the test to work properly with versions of PostgreSql before 9.x
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.
PR Updated with Shay's changes.

See https://github.com/roji/Npgsql/commit/158eb05477a2acc32ca0a920a37af7c6997f727e
and https://github.com/roji/Npgsql/commit/abe8a04e86a12c4d16cb882e2c1049506633803e
PR Updated with Shay's changes.

See https://github.com/roji/Npgsql/commit/158eb05477a2acc32ca0a920a37af7c6997f727e
and https://github.com/roji/Npgsql/commit/abe8a04e86a12c4d16cb882e2c1049506633803e
Merge pull request #118 from NoeGarcia/master

Detection of Parameter Direction in DeriveParameters method.
Integrated publisher policy into build

- Publisher policy creation can now be done via the csproj,
  with the PublisherPolicy target
- Deleted old batch file method
- Integrated new method into Npgsql, Npgsql.EntityFramework and
  Npgsql.EntityFrameworkLegacy
- Updated version numbers

Note: we still have to manually manage bumping the versions,
need to find a proper solution for this
Exclude publisher policy DLL from nuget
Added missing nuget dependency to EntityFrameworkLegacy
Added nuget dependencies for EntityFramework

The two Npgsql.EntityFramework nugets were missing
dependencies on EntityFramework itself, added those.
Added nuget EFProvider installation

Added nuget Powershell installation script for
Npgsql.EntityFramework, which adds the Npgsql
EF provider into the project's App.config, as
recommended here:
http://entityframework.codeplex.com/wikipage?title=Rebuilding%20EF%20providers%20for%20EF6

Note that this wasn't done for legacy EF
Added missing RootNamespace in csprojs
Added EF6 ConnectionFactory class