Fixed library & phpunit environment.
Implemented element() method in collections.
Fixed type hinting in containers and abstract collection.