API documentation for tasks

Fixes #28. Currently requires numpydoc to be installed; maybe pull
this in or import it from NumPy instead?