More generic domain regexp.
Major refactoring to sandbox logic.

The key here is that each event now gets their entirely own subdomain.
No more wierd parameters at the end of each URL. This looks better. The
idea is also that an event might use their own domain and pointing it to
us. This is going to be c00l.