DBManager: Updated mysqldump invocation to mysql 4.0 and later.

The mysqldump option "--all" apparently changed name to
"--create-options" some time after mysql 3.23.

Fixes database backups with current versions of mysqldump.

Fixes some of [bug 6126].
DBManager: Backup system fixes.

Don't attempt to use the old MySQL BACKUP and RESTORE commands with
MySQL 5.5 or later.

The automatic backup scheduler will now use the "mysqldump" method
for any databases where the "backup" method is selected, when the
internal MySQL server is version 5.5 or later.

Note that it is not possible to restore old backups made with the
BACKUP command with MySQL 5.5 or later. Any such backups should
be replaced with backups made with the mysqldump method prior to
upgrading the MySQL server.

Fixes some of [bug 6126], cf also [bug 7088].
Don't crash on empty src attrs. Fixes [Bug 7243].
RoxenPatch: Run patch in binary mode on WIN32.

The patch binary on WIN32 defaults to breaking the linefeeds in patches
for files that use CRLF as EOL. Fix it by always opening the files in
binary mode.

Fixes [bug 7244].
Merge branch 'patches/bug7244' into grubba/patchsystem

* patches/bug7244:
  RoxenPatch: Run patch in binary mode on WIN32.
Merge branch 'patches/bug6126' into 5.4

* patches/bug6126:
  DBManager: Backup system fixes.
  DBManager: Updated mysqldump invocation to mysql 4.0 and later.
Merge branch 'grubba/patchsystem' into 5.4

* grubba/patchsystem:
  RoxenPatch: Run patch in binary mode on WIN32.