Merge pull request #27 from dimagi/cz

add __repr__ function to case states and indices and workaround case:52230
hotfix for actually dealing with sync token checks with no server date