Rewrite Document/show.

Adds tests.
* Fixes #382 text not wrapping (with an option!)
* Fixes #356 loading text appearing

Also makes navigation avoid a page load--especially with tweets. Also adds
unit tests for most functionality.