Added commitId and shortCommitId methods, fixes #21
Added check.index method, fixes #22