macosx: set VLCMain as file owner for mainwindow and add outlets for window and playlist

Fixes playlist initialization.
macosx: correctly reset interface preferences when requested
macosx: fix selection of playlist item for very first start
macosx: fix preferences reset if unknown version was found