add test for basic foreing key to current model lookup
add test to get models foreign keys with related names
update functionality for forreign keys definition to current model
add tests to get relationship with inherited model
complete foreign field calculation for resources