Adding count_3way_mergeable.py

Count potential false rejections in CQ due to patch application
failure which could be avoided with a 3-way merge.

Originally written by primiano@chromium.org, http://pastebin.com/4vay3EZA