This is a very good idea: "someone, or some company, or some open source community ought to build software that parses headlines and the stories that follow and rate them for how well the headline represents the article."
I think the cure would be worse than the disease in this case. Fake news is a fake problem, or at least not a new one. We've had the National Enquirer and similar publications in every supermarket checkout for decades.