Make merge down and merge visible respect frame and cel selection

Not much more to it than that. Ideally merge functions should respect selection so that you can collapse part of an animation without it affecting the whole thing.