Refactor nrepl pretty printing

The original version of the code had a few problems:

* use of defvar instead of defcustom
* wrong menu entry for the toggle command
* missing docstrings
* fairly obscure names