API: Add ability to retrieve the list of files to be installed.

This sort of information is something an IDE would like to show.

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