make sure to report back which app has opened a file

This pull request adds a new delegate method that will be passed the application bundleID of the application that ended up opening a file. Note, sometimes this argument is nil.