Remove created project dir if something goes wrong.
Add test for cleanup
Update tests
Merge pull request #152 from nephila/feature/cleanup

Cleanup if error occurs