Merge pull request #1469 from diox/fix-500-get_object

Fix 500 error when calling get_object() multiple times (bug 944723)
Commit from Mozilla Verbatim by user jasnapaka@jasnapaka.com.: 5074 of 5074 strings translated (0 fuzzy).
Commit from Mozilla Verbatim by user yfdyh000.: 5074 of 5074 strings translated (0 fuzzy).
Commit from Mozilla Verbatim by user petercpg@mail.moztw.org.: 4957 of 5074 strings translated (4 fuzzy).
Commit from Mozilla Verbatim by user arbi.: 5074 of 5074 strings translated (0 fuzzy).
Commit from Mozilla Verbatim by user petercpg@mail.moztw.org.: 4961 of 5074 strings translated (0 fuzzy).
Commit from Mozilla Verbatim by user markh@babelzilla.org.: 5074 of 5074 strings translated (0 fuzzy).
Commit from Mozilla Verbatim by user petercpg@mail.moztw.org.: 4972 of 5074 strings translated (0 fuzzy).
Allow slugs for every endpoint in collections API (bug 918035)