Display organisations grouped by type

On topics and documents we want the organisations to be in a box grouped
by type. This makes it clearer as to the structure of departments and
how they fit together.

This probably wants to wait till after the document organisation logo branch has been merged and then rebased for that so it can use lead orgs with then.