Add autotest for products exporting a module with dependencies.

Fails at the moment.

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