Three years in the coronal life of AB Dor I. Plasma emission measure distributions and abundances at different activity levels