David McGoldrick bagged a quickfire brace either side of half-time as Ipswich won 3-0 at home to 10-man Leeds United.