Fixed library & phpunit environment.
Implemented element() method in collections.
Fixed type hinting in containers and abstract collection.
Renamed element() method in collections to constructProperties().
Merge pull request #5 from zebooka/master

Collections are refactored