[#736,doc][m]: API docs copied across from http://community.openspending.org/help/api/ to doc/api.rst.
Merge branch 'master' into 736-consolidate-docs
Merge pull request #789 from openspending/736-consolidate-docs

#736 consolidate docs - merge across api docs from community site.