Update 'doc' for special forms and Java symbols.

Add tests for equality to the canonical 'clojure.repl/doc' format.

Refactor doc formatting function.

Update doc tests to fail (not error) when returned doc is nil.