Caches EventType lookups

Because having to do a query every time we need to use an EventType is really silly. This kills another 16 queries on the teacherreg page.