Add script to check if Cirrus needs to be rebuilt

This should be useful in development environments as a sanity check.  It
won't catch if the analysis is out of date but catches stuff like a new
index being added.

Change-Id: Idf74eac9615fa9ce5b79a9ea655dacf58082e58d