zig fmt: support directories

zig fmt accepts any number of file paths. For each one, if it
is a file, then it formats the file. If it is a directory, then
zig recursively scans the directory, formatting all files that
end in `.zig`.

it maintains a map of paths that have been seen already, to avoid
softlink loops.

closes #1068
1ca90b5856Andrew Kelley committed on 6/18/2018, 5:58:08 PMparentcd4676a
1 file changedLine totals unavailable