#386 Corrected comment
#386 Fixed deleting too much when updating composite->single relation
#386 Fixed query to act if either one of relation columns is 0
#386 Also delete linked tables which have no relation to entity
Merge branch 'feature/386-ORM-support' into feature/BACKLOG-683-show-differences-between-revisions
WIP for importing diffs