Better formatting for docstrings in REPL

* fixed line-wrap issues
* fixed nested list issues
Merge pull request #7 from akfidjeland/dokx

Better formatting for docstrings in REPL