Handle changes in transformers when re-using a stored build graph.

Also fixes a bug when comparing file lists in products and sets up the
infrastructure for additional checks.

Change-Id: I65b15620e12651ed845a102eb5bfe98f9be458a9
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>