A cure for all mutants

The Last Stand was all about a cure being found for the mutants "“ they don't need to be outcasts when they can become human. With all its flaws, Last Stand could have been a great statement on this issue when applied to the real world and all the prejudices that exist in it.
But it wasn't.
In the movie, it is said that the first cure for the X-gene has been discovered. But is that really the first? I can't say that this one is all Bret Ratner's fault, since First Class and Days of Future Past arrived afterwards. Thus, Hank McCoy was the first one to come up with such a cure during First Class (it backfired, but still), only to perfect it in Days of Future Past, effectively curing Professor X of his ability to read minds. So what gives? Which one was first? And why is Beast so surprised in The Last Stand when he finds out about this cure?
Some things will never be explained.
Of course, Days of Future Past may have tried to fix this, deleting what happened in the Bret Ratner flick. But the time-travel doesn't explain why the 2006 Beast was so surprised, when he did it himself in the "˜70's and then in the "˜80's, well before Wolverine time-jumped.
