Added Darwin support and added an Itcl-based variant

Please note that the Itcl-based variant has a slightly different calling convention:
    set myAppDirs [AppDirs #auto $brand $appname]

Compared to the original:
    set myAppDirs [AppDirs new $brand $appname]