Allow slugs for every endpoint in collections API (bug 918035)