Helper methods moved to spec_helper, updated some unfinished specs
Fixed overlooked mistakes
Test for Git.clear_cached_files
Refactored main class a bit
Updated is_repository method