Social media giant Facebook has announced that over the next three years it will invest $300 million in local journalism in the US