Move the documentation for validate into the validate docstring

This allows for a better experience when using the Python
interactive interpreter.
Merge pull request #121 from radeex/docs-in-docstrings

Move the documentation for validate into the validate docstring