Fixed Bug #64949 (Buffer overflow in _pdo_pgsql_error)

There is a lot of call such as:
	pdo_pgsql_error(dbh, PGRES_FATAL_ERROR, "Copy command failed");
Where the 3rd paramater is a error message string where a sqlstate (5 chars)
is expected. This cause a segfault in copy_from.phpt and copy_to.phpt.

This is only a sanity check to avoid buffer overflow, but obviously this
calls need to be fixed (using NULL or a correct sqlstate).
Fixed bug #64037 (wrong value returned when using a negative numeric field equal to the scale)
Fixed bug #62024 (unable to run consecutive prepared querys with null values)

Credits to james@kenjim.com for the patch.
Slightly edited tests and fix for bug #62024
NEWS
Merge branch 'pull-request/309' into PHP-5.3
Fixed bug #62857 (bytea test failures)

Postgres 9.1+ test fixes. Tests were failing due to the default
standard_conforming_strings GUC being changed to on. Also the
pg_escape_bytea test was encoding the data before estabilishing
a connection, thus falling back to the old escaping type which
isn't properly handled by the backend when using a default
configuration.

I haven't updated the NEWS file as it's just test fixes.
Fixed bug #64609 (pg_convert enum type support)
Clean up leftover test files
fix CVE-2013-2110 - use correct formula to calculate string size
Fixed bug #64960 (Segfault in gc_zval_possible_root)
Add NEWS for PHP 5.3.26
Fixed bug #64934 Apache2 TS crash with get_browser()

In favour of reading the browscap.ini into a true global var
only once in MINIT, the price for that is to deep copy the
any data from it.
Fixed bug #64966 (segfault in zend_do_fcall_common_helper_SPEC)
Fixed bug #64997 (Segfault while using RecursiveIteratorIterator on 64-bits systems)
Fixed test script
Backported the fix for bug #53437
missing colon
missing tests for bug #53437
fixed tests