[BUGFIX] Allow use of the Collection interface in "type hints"
In type hints as well as @var and @param annotations it is better to
use the Collection interface instead of concrete implementations like
ArrayCollection. This was not possible so far.
This changes makes it possible to use Collection instead. When FLOW3 has
to create an instance for Collection, it will create an ArrayCollection.