Filters down the contributions based on the mode. Each
AliasContribution contribution will identify a contribution type and a non-null object that implements the type and may
identify a mode. Only contributions where the mode is blank or the mode matches the provided
mode are returned. Mode specific contributions quietly override non-specific contributions
(where the mode is blank).
Parameters: mode - map from contribution type to contribution object