Adapted Primary vertex producer to use new consumes API

Adapted Primary vertex producer to use new consumes API and getByToken