refactor HDFSState
better tests
add comment on defensiveness.
Remove unused
better temp paths
better error messages
tidy tests
revert change to waitingstate case match
change name.
bump
change names.
fix race
fix goofy reference to nonexistent function
Merge pull request #318 from twitter/feature/refactor_state

CheckpointState -> HDFSState