add commit compare functionality
handle initial commit for compareUrl
Merge pull request #416 from compressed/compare_commits

Add commit compare functionality