Fix test for change in bbfd7ee.
More usual setup for staticfiles for debug/test.
Haystack views are not like Django views

It seems that the haystack views don't have an `as_view` method, so we
just treat it like a regular class instead.
Merge branch 'master' into search-results-page