Handle both kinds of star indentation. DWIM!
Factor JavaCommenter into top-level class.

We'll use this in scala-mode as well.