Merge pull request #33 from ZZromanZZ/bugFix

Fixed using wrong variable
Fix cascade save and delete. Check if deleting/saving entity is exist.
Merge branch 'rh-obo' into master-fork
Merge pull request #34 from Hlavos/master

Fix cascade save/delete in one relationship
Fixed events for serializing/deserializing Array dataType