fix event hidden_instance

The filter for not showing events from hidden instances is currently broken. It uses an inner join and thereby removes any rows from the query which are not associated with an instance.

The first commit creates an `all_q` method in model.Event so that the fix can be implemented DRYly.