coding style fix
Replacing is_a function for instanceof
method for getting the value of primary properpty
methods clear and changeVariableNameForValue for work with collections
support for working with non persistent entities in the collection
Merge pull request #11 from hAdamm/master

Extending the functionality