Added method getImportClosure() to get full set of imports.

Change-Id: I593ab2abb545e8b61e6e6d277ba2e738ed92b7cd
Merge "Added method getImportClosure() to get full set of imports."