README.md: improve formatting of API listing, add table-of-contents