Gallery template refactor / User Profile triads

Per convo in Dries hipchat room: Uses one single `gallery.tpl.php` and applies relevant `duo` and `triad` classes.

Updates User Profile to use `triad` class for the Doing section.