Simplify slot disconnections with the new Connection and ScopedConnection classes
Fix crash when Esc key is pressed in drag-and-drop of frames in Timeline
Fix issue 409: Infinite loop upon creating new sprite with a loop section set

Fix app::calculate_next_frame() to check that the loop section is correctly
inside the available sprite frames range [0, nframes)