handle the FileOpen request on mac OS X

it is implemented by installing an event handler on the global Application
object and looking for the QEvent.FileOpen type. (Please test!)