Better docstrings for examples.

This improves the docstrings for the examples; I haven't yet added good docstrings for all of them, though.  Now these docstrings will be displayed in the documentation and linked from the gallery page.