Shopify/batman — pull request #739 by pushrax (2013-05-29 21:04:36+00:00)
Title: Use batch operations in the hasMany decoder

#### Issue

The `hasMany` decoder does a bunch of unbatched operations, which causes a bunch of redundant events.

#### Solution

Batch them as much as possible.

I renamed `existingRelations` to `children` since I think it more accurately represents the function.

@hornairs @nickjs @kristianpd