Allow to check identity for primitive type in `assertContains` and all assert that depends on `TraversableContains` class.

This fixes #745. The correction is pretty basic. I just remove the `is_object` condition allowing now to use the `$checkForObjectIdentity` parameter whatever the type of the elements.