docs: reorg plugins section; add dev section

--HG--
rename : docs/plugins/writing.rst => docs/dev/plugins.rst
skeletal autodoc-based API docs