Minor refactoring of trim_docstring
Use C++ to determine number of leading spaces
Use docstring trimming algorithm for all descriptions.
Closes #199