Related to bug #65047 (Test skip on client / server version)

bug46274.phpt and bug46274_2.phpt
Make query silent (when server don't know bytea_output option)

bug_49985.phpt
Make result "locale" independent
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Related to bug #65047 (Test skip on client / server version)