Added a check to see whether a field is really a foreign key before trying to fetch its relations.

For more information, see [this issue](https://github.com/concentricsky/django-tastypie-swagger/issues/90).