Add keybinding to close the session

This is useful mostly for development, to be able to run
and close the shell quickly. Make it conditional on the
SUGAR_DEVELOPER variable so that it doesn't get hit by
mistake by users.