The patent system that has served drug companies so well may at last be changing to also help those who need drugs most.