Assert model type is string in DS.belongsTo() and DS.hasMany()

Fixes #2525