Support for hiding output.

This commit adds extra functionality in the notebook and at the
paragraph level to selectively hide/show the output.  This is useful
when the output is of little importance, for example, a bunch of imports
or declarations for which the Scala REPL output is redundant.