Add syntax highlighting to the readme.

Also remove some trailing whitespace.