James Coughlan was man of the match as Munster secured a home quarter-final with a bonus point victory over Edinburgh.