fixed issue of missing updating child object Id
Added unit tests for InMemorySet and Cache
Changed IdGenerator only assign value to non-initialized id property
Merge pull request #1 from mikezhuyuan/master

Bug fix and unit tests