Fix typos in api.rst

Catched by @ifdattic -- see
https://github.com/graphite-project/graphite-web/pull/694
py34 on Travis