Added emacs, vim and psql config files. Updated osx and brew scripts.