First pass at rearranging contact pages for agencies.

Handles pages for components, agencies without components,
top-level offices, and subcomponents.