These are the generations to buy (and those to avoid) for reliability when it comes to the Mazda 3 Sedan.