Integrate the dirty checking transformation into the session and GormInstanceApi. Fix for GPMONGODB-269 "Can we please get a working isDirty() implementation?"