macosx_application: implement "Quit & remember position"

Add a menu item to quit and save the current playback position using the code
added with commit ce9a854.

Fixes #85