fix bug #1809 should not be able to delete photo of child registered with only the photo by  Li Ke
update delete photos  method and test.
test modification
Merge branch 'master' of https://github.com/LiKethoughtworks/RapidFTR into pull-req-502