.osx: Kill `cfprefsd` after changing preferences

As of OS X 10.9 this is necessary to make sure the changes persist.

Closes #330.
Merge remote-tracking branch 'upstream/master'

* upstream/master:
  .osx: Kill `cfprefsd` after changing preferences

Conflicts:
	.osx