Set the relation property correctly

See https://github.com/strongloop/loopback/issues/218
Merge pull request #89 from strongloop/feature/fix-lb-218

Set the relation property correctly