Update formatting of readme.

Putting backticks around file names, inline code, and class names.

Adding php tags around php code to make it more obvious. Since files are namespaced there isn't a reason in having filenames above the code.

Remove excess whitespace at the end of the lines.