Added constraint for definition with tags

It would be nice if we can test if a specific service definition has a
tag.

An example use case: https://github.com/symfony-cmf/SeoBundle/pull/129/files#r11394457