Prevent committing when name or email is not set

Closes #90.