Cleanup trailing whitespace and set ruby syntax in README.