Fixes for broken function-based view handling.

* The request parameter was being passed into access_view
  in the wrong way.
* Just setting `view = [view_func]` on a test class doesn't
  work, since it binds the function to the class as a
  method.  Wrapping it in `staticmethod()` avoids this, so
  add that to the docstring.