more work w.r.t foreignkeys.
fix foreign keys for django 1.3.7, and actually slurp the rel.to field.