Use current directory as fallback application directory

With this more sane paths are generated, e.g. ./resources/foo instead
of /resources/foo
Merge pull request #191 from AMDmi3/master

Use current directory as fallback application directory