Enable moving a scene from one chapter to another

Now we can move a scene even if it is the first/last scene in the
chapter. When moving a scene from an empty chapter, it asks if we want
to delete the chapter.