Osx issues

Due to problems with relative paths, the OS X application bundles being generated by sconf were not working properly. There was no icon, or version information, and they could not be executed.
This fixes that and simplifies the bundle creation by using a generic Info.plist for a template instead of the old, hardcoded plists.
Also fixes a compile error when building with EDITOR