Fix packagehistory filter
Fix entity edit page when user is not superuser
Added method (not used yet) to list all parents of a list of entities