Update backup_databases.sh

Minor Changes
 * Changed directories to tempdir/backupdir
 * Deletion of old backups
 * Changed directory creation to 'mkdir -p'
 * Compression changed to gzip