Allow selective trapping of standard exit functions

This allows us to do things like:

(fullframe list-packages quit-window :package-fullscreen nil t)

which would normally have side effects due to quit-window being used by
any buffer in view-mode.

Closes #6