Extension dev guide documentation

The extensions.rst file has already been reviewed in the pull request I closed, so you can skip that part (unless you really want to read it again).

The new stuff in this pull request is the example page.