Profiles: Add render_profile macro.

This allows user profiles to be used in multiple places. This also
simplifies the officers' template.