IntelliJ-based imports cleanup.
IntelliJ-based code reformatting.

* Cleaned up a whole bunch of inconsistent formatting, mixed
  styles, mixed spaces and tabs, etc.
More IntelliJ based code cleanup.