Fixing a few missing constants, adding #each_unique_commit and #unique_commit_count methods