Arsenal stepped up their claims for a place in the Premier League's top four at the expense of Manchester United's ambitions in a thriller at Emirates Stadium.