Crystal Palace agree record fee for Wigan’s James McArthur