(#1582) Update and spellcheck api.md

Some small copyedits for api.md, plus an example
usage of PouchDB.destroy and PouchDB.plugin.