Documentation/0.5: add api.md

- Update all of the ports to use the new IANA port numbers
- Update the stats section to talk about the id fields
- Remove mention of the modules
- Remove -L from all of the curl commands since it is no longer needed
- Point people at the clustering.md guide for the cluster APIs
Merge pull request #1393 from philips/0.5-docs2

Documentation/0.5: add api.md