Only consider webapp categories in App API (bug 963129)

I initially removed that because specifying the queryset did an extra
useless query, but it turns out it's not longer the case.