If going to auth page and already authed, redirect
Support unicode in domains

Specifically this support is added by converting to IDNA (punycode) on
the fly when entered into the database and back when doing the reverse.
When loading entries through a Site allow filtering

SQLAlachemy allows a backref to be a lazy entry so that it returns an
appropriate Query object that can be further filtered/limited. Handy.
Properties "self" can be the class or an instance thereof

Verify that we are an instance of ourselves, if so do the right thing.
If we are not an instance of ourselves, then the property received the
class as it's "self", at that point we simply return the object as-is.
Add an idna Column for our sites "slug"

This is what will be used when generating URL's within the management
interface, we allow any unicode that can be successfully puny-encoded.

In the future this may for example be used to automatically hand out
sub-domains to sites that don't add their own domains.
Add more testing data, and update the output
If there is no ticket for this user, clear cookie

By setting an cookie with max-age of 0 we clear the cookie.