Refactored to use exceptions. Closes #6.
Refactored patch to also use _bandaid_validate_project().
Added comments.
Added todo.
Refactored git operations out into a class.