Rename self.gitdir to self.outputdir.
Fix a comment typo.
Use safe shell_quote technique for shell commands to prevent potential errors, such as '$' or '`' inside the double quotes.
Add a php script that reads native dokuwiki conf settings directly. The path argument now takes dokuwiki directory instead of dokuwiki data directory.
Support all dokuwiki attic compression modes.
Safe fallback for dokuwiki sites not using plain auth.
Skip all "_*.changes" meta files for safe. (Some dokuwiki plugins may create these meta files)
Import pages to the "pages" subdirectory inside the git repo, to prevent possible confusion.

- eg. A "media/foo.txt" and a "media/icon.png" are mixed together if the former is not imported to "pages/media/foo.txt"
Import using the date with local timezone, matching the maintainer's timezone, which should be the most desired behavior.
Optimize the code by moving sub-functions into the block of the main method.
Optimize read_attic by reducing obsolete calls.