Actually check lines other than the active line in the spellchecker dialog
Add the line's row number to AssDialogue

The grid needs to be able to map AssDialogue * to a row number, and just
storing it in the AssDialogue is nearly strictly better than a std::map
mapping events to rows. Probably will be of use elsewhere as well.
Preserve the old selection when an automation script doesn't return a new one