scripts/fd: rename to scripts/redirections.
scripts/globals: split some declarations to scripts/array and scripts/pathes.
scripts/array: rename some local variables prefixing them with underscore for robustness.
scripts/array: add array_index, array_insert, array_insert_after.