Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed

Each new mysqli_stmt now increase the refcount of the link object.
So the link is really destroy after all statements.

Only implemented with libmysqlclient, as mysqlnd already implement
this internally.

So, libmysqlclient and mysqlnd have the same behavior.
test for bug #66762
NEWS
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  NEWS
  test for bug #66762
  Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed
NEWS
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  NEWS
  NEWS
  test for bug #66762
  Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed
NEWS
Merge branch 'PHP-5.6'

* PHP-5.6:
  NEWS
  NEWS
  NEWS
  test for bug #66762
  Fixed Bug #66762 Segfault in mysqli_stmt::bind_result() when link closed
update libs_version.txt
update libs_version.txt
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  update libs_version.txt

Conflicts:
	win32/build/libs_version.txt
Merge branch 'PHP-5.6'

* PHP-5.6:
  update libs_version.txt
  update libs_version.txt
typo spotted by Lajos Veres
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  typo spotted by Lajos Veres
Merge branch 'PHP-5.6'

* PHP-5.6:
  typo spotted by Lajos Veres
mention the apparmor support in fpm
Merge branch 'PHP-5.6'

* PHP-5.6:
  mention the apparmor support in fpm
list the fpm change hat rfc in UPGRADING
Merge branch 'PHP-5.6'

* PHP-5.6:
  list the fpm change hat rfc in UPGRADING