use a default sender->nic mapping function; some refactors
NOTES: - torus does not use it, as it has some routing logic preventing direct usage. It probably can be done, but I'll leave that for later. - collectives in torus, dragonfly don't use it yet.
Showing with 46 additions and 33 deletions