Fix a small error in the sample repository code.
TodoRepository.Store(): modifying an object added another copy of that object to the repository, instead of updating the existing one.
Merge pull request #545 from mbischoff/master

Fix a small error in the sample repository code.