enhanced TSQLRecordHistory and TSQLRestServer.TrackChanges()/TrackChangesFlush() to implement feature request [a78ffe992b]
includes corresponding regression tests - resulting speed sounds good enough