install settings for osx

inspired by https://github.com/michaelcontento/dotfiles/blob/b0f83acad232667b2239ba31d425dac3d82f21cc/.osx
specify editor for git commit messages

see http://tooky.co.uk/there-was-a-problem-with-the-editor-vi-git-on-mac-os-x/ for further information