readme: Convert to Markdown

* Add .md extension so GitHub recognises it as Markdown.
* Add <pre> wrappers for the code snippets.
* Backtick endpoints.
* Turn mentioned file names into links to their contents.