Added workaround for bug in virtuoso (cascades on delete).

see https://github.com/openlink/virtuoso-opensource/issues/56
bug fixing, issues: #29, #33
removed outdated TODOs
merge from master conflict resolution