Add getEntities filtered by a Predicate to EntityUniverse

At the request of gabizou.