Allow filter model to be a subclass of the queryset one.

The original `issubclass` check seems to have been misused.

Also moved the `FilterableItem` model to the common module since the one defined in `test_filters` was actually a reference to the one defined in `test_pagination` because of the way `BaseModel.__new__` works.