CB-2926 Add a ./cordova/log project-level script for OSX

- added log output to build script if it starts the app after building
- added flag to support launching in foreground