Added a check to see whether a field is really a foreign key before
trying to fetch its relations.
Changed field_is_fk variable to has_related_resource, as requested.
Also added comments to clarify the reason for the added checks.
Merge pull request #91 from fluffels/master

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