Track access to product properties in commands.

We currently do this only for the prepare script itself, not for the
JavaScript commands within.

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