1. adding utility for querring commits between builds.
2. incorporated review changes.

Change-Id: I4843a234a565d1053d511ba4b50f47a22b6a4d1e