Small improvements on change tracking for rfc2136

- No commit when there are no RRs changed (do an abortTransaction).
- No cache purge when there are no RRs changed
- Fixed small issue where changedRecords was not counted correctly.