Reformat most docstrings to conform to PEP-257

- Namely, start docstrings with one-line summary followed by an empty line.
- Use ''' for multiline strings that are not docstrings.