use `select_related(related_names)` instead of deprecated `select_related(depth=1)` (bug 1011676)

https://bugzilla.mozilla.org/show_bug.cgi?id=1011676

r? @robhudson