Add mapexit as a script command

It's not safe to call GM commands without an attached player.