Sajid Javid has been appointed Home Secretary in a Cabinet reshuffle forced by the resignation of Amber Rudd over the Windrush scandal.