Geenen's QPersistence changes merges and compile.
Added addXYZ and removeXYZ methods for relations.
Fix bug where a belongsToOneRelation would not update its reverse relation upon change.
Merge commit '184f6921cdbec3a4cc4b31c023e5ebe43c2fbe9b' into dev