Anthony Martial earned Manchester United an FA Cup quarter-final replay after scoring a well deserved but late equaliser against West Ham.