Added status column to events and enabled updating of slot classes.

Minor refactoring DAOs to remove php warnings.