Add error-level call to the log module.
Catch and handle 'git add' and 'git commit' errors.

Particularly, attempt to cleanup stale .git/index.lock files.

Fixes #18