Fixes search fields for resource admins

The searches were failing because they were trying to do
relatedmodel__icontains. Fixes this by replacing searches for
relatedmodel with searches for relatedmodel__textfield.
Merge pull request #1129 from learning-unlimited/resources-admin

Fixes search fields for resource admins