nested url resolutions now use rootForType to get the correct root url

as per #9

this pr doesn't fix the other issue (with multiple belongsTo) but does fix the issue with differently named fields than models