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.
Merge pull request #1759 from diox/fix-api-webapp-categories

Only consider webapp categories in App API (bug 963129)