Add lineForSlide() method and update slide separator logic

Add lineForSlide() method that returns the line number for the passed
slide and use it in MainWindow.

In template_presentation.html we setup the slide separator to be
surrounded by empty lines. The logic in SlideLineMapping is adapted
accordingly and new unit test were added.