Additional debug logs for federation flows

Adds debug logging for federation flows, specifically around the
mapping functions.

Change-Id: I40ed26173937d2b6b74f6228cf8e61373ea88b86
Closes-Bug: #1389586
Merge "Additional debug logs for federation flows"