added hasMany associations add parent to model they belongTo
added test for RestAdapter