mozilla l10n: unify clone/update script, more logic