First pass at improved hasMany dirty checking.

Need to make ManyArray#isDirty more robust.