Fix the model name for hasMany/through relation

/to @ritch 

See https://github.com/strongloop/loopback/issues/811