Collapse topic

Adds a toggle to switch between full, collapsed, and a new
one-line view of topics.  Only supports javascript currently.

Mingle: 432
Change-Id: I1fd2cc1bf1fe50f81417ce5516334f5cb6e83562
Merge "Collapse topic"