Clean up README.

Generally improve the README by making better use of Markdown formatting. Change some of the links and modify indentation of the code blocks.