Crystal Palace have appointed former Brentford and Tottenham manager Thomas Frank on a two-and-a-half-year deal, tasked with guiding the bottom-placed club away from Premier League relegation.