http://wowprogramming.com/docs/event...SYSTEM_NEUTRAL
I think that this event will allow you to respond to the end of a battleground. If there's a similar event for arenas, I haven't managed to find it yet, though it might be possible that this one will work for them as well.