Fixed way of declaring relationships in the rest adapter guide

The old way of specifying hasMany/belongsTo relationships was used in the guide (the-rest-adapter.md)