Update mac-setup.sh

- Added note on where to find the most recent XCode command line tools
Use proper path to hgeditor.sh

Auditors: csilvers
Miscellaneous fixes

Updated old broken things, also made it so this script runs even if you
haven't cloned the whole dotfiles repo yet.
Merge pull request #3 from MattFaus/patch-1

Update mac-setup.sh
curl, not cat

Auditors: emily
Use ~ instead of $HOME in .hgrc.

Summary: Use ~ instead of $HOME in .hgrc.

Test Plan:
1. Created a test commit.
2. Ran hg commit; looked for the boilerplate.
3. Edited the test plan, but left the default summary in to trigger the post-commit hook: "Must enter a summary in the commit message."
4. Ran hg commit again; wrote a proper commit message with summary and test plan.
5. Ran hg push and noticed it succeeded.

(The above steps were executed on a Mac only.)

Reviewers: alpert

Reviewed By: alpert

CC: david, benkomalo

Differential Revision: http://phabricator.khanacademy.org/D1004
Adding SSL to nginx setup
Merge branch 'master' of git://github.com/Khan/khan-dotfiles