script now enumerates over paths, excludes dirs

- tweaked the info in the script header, moved some blocks around
- moved recurse_path() so it's before show_[examples|help], so it can call up
  to everything else
- changed short switch for 'exclude' to '-x'
- fixed getopt options so they are the same for BSD getop and GNU getopt