Use `git branch --contains` to check if a commit has been merged.

Fix #66.
Merge pull request #76 from xystushi/review_130912_bugfix_for_checking_commit_merge_status

Use `git branch --contains` to check if a commit has been merged.