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.