idgames_sync.pl: first crack at --sync-all; fixes #25

- Fixed issue using return values from RegexRef attributes directly in
  regular expressions, it doesn't work, need to assign to a local
  scalar first
- Added debug logging in the checks for dotfiles, metadata, and WAd
  dirs