add gitignore for .z.* files for clean submodule

When using z as a git submodule, the .z.* cache files cause the submodule be considered "dirty", which is annoying. Using .gitignore on the .z.* files fixes the issue.