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)
DeriveParameters Test (updated)

Update the test to work properly with versions of PostgreSql before 9.x
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
Fix loading of embedded NpgsqlMetaData.xml

Required by the introduction of <RootNamespace> in
6e3256916966b43780ae1387c236fd12e4cbab1e
Workaround for mono .NET 4.5 + ClaimsIdentity

Made sure to never have the function accessing the
WindowsIdentity type JITted under mono .NET 4.5.

https://github.com/npgsql/Npgsql/issues/133
NpgsqlCommand.AppendCommandReplacingParameterValues() and operators @@, @> and <@.

Fix bug that would turn operators @@, @> and <@ in ::, :>, and <: respectively.
Add tests for said operator butchery.
Merge pull request #134 from roji/133

Workaround for mono .NET 4.5 + ClaimsIdentity
NpgsqlCommand.AppendCommandReplacingParameterValues()

Remove a couple bits of redundant and ineffective code in the scanner.
ParameterCollectionHashLookupParameterRenameBug()

Add test to demonstrate the parameter rename bug that exists with the new hash-based parameter lookup.
NpgsqlParameter[Collection]

Make parameters aware of their owning collection.
Enforce a parameter can belong to any collection only once.
On paremeter name change, invalidate owning collections's hash lookups.
When a parameter's collection changes, also make sure it is marked as unbound.
Add function to remove a parameter by name.
Command timeout (merge PR #117)

Send SET command_timeout = <timeout> to backend when needed.
Extend the Socket.Poll() timeout by 5 seconds to try and guarantee that the backend's timeout error will occur before the frontend's timeout does.