rowIndex getter crashes on detached table rows

Currently jsdom crashes whenever I try to access `rowIndex` on detached table row element, it should return `-1` instead.

This pull request fixes that.