[core] Create settings directory if not already there
[widgets] Restore OS X style settings
[mac] Initial OS X support