Performance improvement in bulk_lookup_kwargs()

Hi,

When passing a QuerySet to bulk_lookup_kwargs(), the queryset was undesirably executed to get a list of IDs. This fix turns that into a nice 'object_id IN (SELECT ..)' query instead. In a real life app with a large set of objects, the difference in performance is noticeable.

Greetings,
Diederik