Fix handling of slices in RelatedSearchQuerySet.

Prevent pagination of all the search results to get to ?page=100.
Also gets rid of a heap of code duplicated from SearchQuerySet.

This was forward ported from 8a1e6e36f, 334b66bdf

Conflicts:
	haystack/query.py