Fix #2080(gridApi): change getVisibleRows to use visibleCache

Also fixes the e2e tests to find the repeater based on $index.