git_repository_state_cleanup() should remove rebase-merge/, rebase-apply/ and BISECT_LOG

We didn't have any test cases for ```git_repository_state_cleanup()```. Turns out that we actually didn't cleanup the ```rebase-merge/``` or ```rebase-apply/``` directories. Ditto for the ```BISECT_LOG``` file.