Resolve a bug that mixes up argument order for generic functions.

When context locals are disabled, the order of arguments passed explicitly to
generic controller handlers is incorrect (and causes the user to interact with
e.g., a Response object, when they're really getting a Request object).

Fixes-bug: 1374683
Change-Id: I5922b0a441f1ebae032d5b0d64c9ee0f4cf018e0
Merge "Resolve a bug that mixes up argument order for generic functions."