feat(change_detector): add a way to inspect records and record ranges

Due to the optimizations used in Record, troubleshooting change detection issues is difficult. This PR adds two functions: `record.inspect()` and `record.inspectRange()` to make it easier.
would it make sense to make the recursive calls lazy, ie `getNext: function() { return _inspect(record.next); }` ?