Don't assume rel.modelTo

This should fix https://github.com/strongloop/loopback-explorer/issues/41 in a general way.