Fix broken string copy in buildAbsolutePath

Also clean up if/else logic to be a bit cleaner.
Fix a compiler warning in Mac OSX
Remove default resources path

No longer makes sense, perhaps requiring -r for application tests would
be smart as well.
Warn if temporary directory could not be created
Clearer name for test output folder
Human-readable strings for exit codes