Former London mayor Boris Johnson will take on foreign minister Jeremy Hunt to become Britain’s next prime minister.