John McGinn's two goals led Villa past Nottingham Forest, as Unai Emery's team rebounded from its first loss in two months.