new method `has_exaclty` on collections

This is used to compare collections without taking the order into account.