FileDir::getApplicationDir() implementation for OSX
Merge pull request #186 from veprbl/osx-patch

FileDir::getApplicationDir() implementation for OSX